Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Tidy action #6

Open
lennart opened this Issue Apr 18, 2012 · 5 comments

Comments

Projects
None yet
2 participants

lennart commented Apr 18, 2012

How do you currently use this tool for yourself? I wonder whether you use the clear action regularly to keep the tool fast and the generated output slim. (I guess if you use Dropbox for storage, you get versioning for free so my concerns may be a non-issue for you)

If so, I would love to implement some kind of tidy action to push all bookmarks to an external service and run a clear afterwards. That way you could safely shrink the list of bookmarks and start from scratch without losing any information.

Since I know this is opinionated — and you might not be interested in this feature at all — I just wanted to know what would be the simplest solution to build some kind of plugin system for bm.

In the same manner, I would want to implement some kind of notion for sticky bookmarks that might survive tidy, however I guess that would make things overly complex…

Share your thoughts on this and keep up the good work, this is the first bookmarking tool I like to use!

Owner

tj commented Apr 18, 2012

hmm not sure what you mean really, you want to save them, but start from scratch? howcome?

lennart commented Apr 18, 2012

darn, it seems I'm struggling to express myself clear enough, I should be working on that.

yes, I try to use a real world scenario:

If those bookmarks are things on my desk,
when I clear the desk I just wipe everything off it,
while tidy would just put all of them into one of the drawers of my desk so that the desk itself is empty again.

In bm, running clear and tidy has the same effect, running bm again afterwards shows nothing (since your bookmarks file is empty), tidy however just makes sure those bookmarks (which I really badly needed sometime but not now) are stored somewhere safe, say an offsite location (e.g. my server, a git repo you name it).

Does this make the feature clear in contrast to what clear would do?

Owner

tj commented Apr 18, 2012

gotcha, it's definitely no something I need, but it sounds like you could achieve similar just with tagging. I actually recently broke this part but bm view design for example would just open those ones up, I just need to add the grep support for that back in

lennart commented Apr 18, 2012

um right, I just used sed on the bookmarks file see here, it's quick and dirty but seems to work

lennart commented Apr 18, 2012

I should first fix bm view (without args) and then tell you about it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment