#743820 Views should update on syncs

Package:
git-annex
Source:
git-annex
Description:
manage files with git, without checking their contents into git
Submitter:
martin f krafft
Date:
2015-01-19 21:54:05 UTC
Severity:
wishlist
#743820#5
Date:
2014-04-06 20:16:25 UTC
From:
To:
One way I would like to use git-annex is managing a photo
collection, tagging those photos ready for release e.g. "gallery".
On the gallery server, there then would reside a (possibly "direct")
clone of the repo with a tag-select view applied.

Unfortunately, when someone adds a new file with the "gallery" tag
and syncs with a central repo, it seems like the only way to get the
repo on the gallery server to include the file is to vpop-sync-view.

It would be really cool, however, if running a sync inside a view
would automatically bring the view up to the latest state, if things
have changed outside…

#743820#10
Date:
2014-04-17 18:49:31 UTC
From:
To:
Blocked on http://git-annex.branchable.com/design/caching_database/
#743820#15
Date:
2015-01-19 21:51:15 UTC
From:
To:
also sprach Joey Hess <joeyh@debian.org> [2014-04-17 20:49 +0200]:

Okay, not sure I understand, but I won't doubt it.

How easy would it be to add a "git annex refresh", which would
basically just refresh all currently applied views in their order?
That's like a bunch of vpops followed by a bunch of views and
filters, except that the actual arguments to the view and filter
commands are obtained from the status quo and need not be specified?