-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve some preexising data during update operation #327
Labels
Comments
Thanks for the issue. As discussed, I am assigning it to you. |
Ok Thanks. I'll try to work on it on my free time and raise a PR. |
This is a 15-days old issue without any response from dev on the status. I have added it to the ToDO list. |
This in linked in the ToDo list. Closing the defect. |
Also note that tags are not refreshed now reducing the severity of the problem. |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When you run an update operation without any option on a url (
buku -u
), the data are retrieved from the remote site and overwrite the preexisting fields (title, comment) or append them (tags).However, you sometimes only want to update specific fields and preserve the others that are already present from any modification. For instance after an import of your bookmarks tagged with your own keywords, you only need to refresh titles and comments but don't want to append your own tags with other fetched tags.
It would be useful to allow such behaviour with a new command line option on the update operation (
--preserve
).Here are some details:
--preserve
prevents any automatic modification on each specified fields (title, comment, tags). For instancebuku -u 10 --preserve comment
should only append tags and and update title and should not affect the comment--preserve
option could be combined with commas to specify which field should be preserved (i.e--preserve title, tag
)The text was updated successfully, but these errors were encountered: