Skip to content
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

Closed
Krazybug opened this issue Nov 17, 2018 · 5 comments
Closed

Preserve some preexising data during update operation #327

Krazybug opened this issue Nov 17, 2018 · 5 comments

Comments

@Krazybug
Copy link

Krazybug commented Nov 17, 2018

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 instance buku -u 10 --preserve comment should only append tags and and update title and should not affect the comment
  • arguments of the --preserve option could be combined with commas to specify which field should be preserved (i.e --preserve title, tag)
@jarun
Copy link
Owner

jarun commented Nov 17, 2018

Thanks for the issue. As discussed, I am assigning it to you.

@Krazybug
Copy link
Author

Ok Thanks. I'll try to work on it on my free time and raise a PR.

@jarun jarun mentioned this issue Nov 18, 2018
61 tasks
@jarun
Copy link
Owner

jarun commented Dec 2, 2018

This is a 15-days old issue without any response from dev on the status. I have added it to the ToDO list.

@jarun
Copy link
Owner

jarun commented Apr 24, 2019

This in linked in the ToDo list. Closing the defect.

@jarun jarun closed this as completed Apr 24, 2019
@jarun
Copy link
Owner

jarun commented Apr 24, 2019

Also note that tags are not refreshed now reducing the severity of the problem.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants