datalad / git-annex

A non-official clone of git-annex established for DataLad purposes. No PRs will be merged, but could be used to test perspective git-annex patches. Official git-annex repository: https://git.kitenet.net/index.cgi/git-annex.git/
16 stars 3 forks source link

Client Tests: make badges provide "URL" to the log file/directory #107

Open yarikoptic opened 2 years ago

yarikoptic commented 2 years ago

ATM it is tricky to associate state of the badge to the log file(s) to look at. Yet to figure out how we could achieve that in not too ad-hoc fashion since logs are fetched/removed by con/tinuous. May be shouldn't be removed but "overloaded" in some branch (without history) along side with all the badges (i.e. have per client/run branch to contain badge + log)

WDYT @jwodder ?

jwodder commented 2 years ago

@yarikoptic If the logs & badges for a given client are always going to be on the same branch, I don't like the idea of not storing the history. How about creating status-<clientid> branches that contain the badges and logs for the highest-numbered run so far on the respective clients, with normal Git versioning?

yarikoptic commented 2 years ago

the problem with "normal Git versioning" is that the repository would very quickly grow in its size through collecting the history of builds. We could make them into separate (no common root) branches status-<clientid>-<buildid> with status-<clientid> pointing to the same commit of the corresponding build, and then use con/tineous to archive/remove older build branches?

jwodder commented 2 years ago

@yarikoptic I think I like that idea even less.