Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

git sync not working as understood #255

Closed
hexbinedit opened this issue Jun 3, 2020 · 4 comments
Closed

git sync not working as understood #255

hexbinedit opened this issue Jun 3, 2020 · 4 comments

Comments

@hexbinedit
Copy link

New files added to the git repository are not having pages built:

New files added to the git repository are not having pages built for them in the wiki. Likewise, removal of files is not represented in the pages on the GUI. Changes to existing files that are then synced are propagating into the wiki just fine.

New markdown files

New markdown files added under new directories in the repo, created on a separate branch, are merged to the master and then synced with the wiki. Said new files should have pages built for them.

git add, commit, push, subsequent merge.

Am I misunderstanding the purpose of the git sync functionality. The new pages are propogated into the local repo and I can use the option to import everything to add the new files, but this is not a feature I want to hand out. Plus with files being removed from the repo, why can't the wiki determine that the page should be removed? What should the expected functionality be?

Thank you for your time!

@NGPixel
Copy link
Member

NGPixel commented Jun 3, 2020

New files should result in new pages being created. Make sure they respect the kebab-case naming format.

@hexbinedit
Copy link
Author

How are files then removed? Does it just take some time to propagate those additions to pages as well?

@NGPixel
Copy link
Member

NGPixel commented Jun 3, 2020

Sync runs every 5 mins.

@hexbinedit
Copy link
Author

And I've used force sync to speed things up. The changes to existing pages are immediate, but new files do not have pages built for them using kebab format and .md extension. I have to manually 'import everything' to get the pages to show up. Again, sorry if I'm misunderstanding something.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants