mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 06:06:05 +03:00
[GH-ISSUE #1658] Sync with git not working when there is a .gitignore file #1101
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#1101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @diogo-rossi on GitHub (Jun 24, 2024).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1658
Which version of floccus are you using?
v5.2.3
How many bookmarks do you have, roughly?
almost 320
Are you using other means to sync bookmarks in parallel to floccus?
No
Sync method
Git
Which browser are you using?
Chromium
Describe the Bug
Syncing with
git.I have a
.gitignorefile with the following content:In summary: if ignores everything except the folder
0/Config/My bookmarks file is
0/Config/bookmarks.xbelWith this setting, I'm getting empty commits produced by Floccus.
By removing the
.gitignorefile, it works ok again.Expected Behavior
I expected that the commits were not empty when syncing bookmarks with git
To Reproduce
0/in it and a subfolder folder0/Configwith an empty file0/Config/.gitkeepand also add a.gitignorefile to the root directory with the content:git add -fwhen adding the.gitignorefile). The file tree will be like this:Add this repository to Floccus settings with git sync method with the path to bookmarks file:
0/Config/bookmarks.xbel.Add an bookmark, let's say, to
youtube.comand see that commits produced by floccus are empty.Delete the
.gitignorefile, commit and push. Now, add another bookmark and sync with Floccus. The commits are not empty anymore.I created a public repository here reproducing the issue. The 3rd commit is empty. Fell free to ask any doubts.
Thankyou for this software!
@github-actions[bot] commented on GitHub (Jun 24, 2024):
Hello 👋
Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus and have been maintaining it ever since.
I currently work for Nextcloud which leaves me with less time for side projects like this one
than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.
I look forward to working with you on this issue
Cheers 💙