*** paulwaters_ has joined #baserock | 05:30 | |
*** paulwaters_ has quit IRC | 05:32 | |
*** rdale has joined #baserock | 07:22 | |
*** CTtpollard has joined #baserock | 07:27 | |
*** jonathanmaw has joined #baserock | 08:22 | |
*** cosm has quit IRC | 08:32 | |
*** cosm has joined #baserock | 08:46 | |
*** locallycompact has joined #baserock | 09:12 | |
*** locallycompact has quit IRC | 09:15 | |
*** locallycompact has joined #baserock | 09:15 | |
*** tiagogomes has joined #baserock | 09:30 | |
*** franred has joined #baserock | 10:32 | |
leeming | is there an interface to query a trove, other than the web gui? | 11:40 |
---|---|---|
pedroalvarez | what kind of queries | 11:40 |
pedroalvarez | (answer is yes, but depending on what you want) | 11:41 |
leeming | eg: does package foo exist? | 11:41 |
pedroalvarez | package == repository? | 11:41 |
leeming | sorry yes | 11:42 |
benbrown_ | leeming: `ssh git@trove help ls` | 11:42 |
pedroalvarez | benbrown_: does that work if you don't have an user? | 11:42 |
benbrown_ | pedroalvarez: unlikely | 11:43 |
leeming | ^no | 11:43 |
leeming | I ultimately need to find an exact ref for a repo given a version number/tag.. so quite a bit of searching | 11:44 |
pedroalvarez | I think that's possible | 11:44 |
pedroalvarez | using morph-cache-server IIRC | 11:45 |
leeming | hmm ok, what is morph-cache-server? | 11:47 |
pedroalvarez | is a thing (service) that runs in the trove, that you can query for things like that | 11:48 |
leeming | REST? | 11:48 |
pedroalvarez | in this script we use it: http://git.baserock.org/cgit/baserock/baserock/spec.git/tree/migrations/008-submodules-in-strata.py#n91 | 11:49 |
pedroalvarez | yes, REST I believe | 11:50 |
pedroalvarez | and this is the server code: http://git.baserock.org/cgit/baserock/baserock/morph.git/tree/morphcacheserver/repocache.py | 11:50 |
leeming | ok thanks | 11:55 |
tiagogomes | leeming, curl "http://git.baserock.org:8080/1.0/sha1s?repo=git%3A//git.baserock.org/delta/linux&ref=master" | 12:15 |
*** franred_ has joined #baserock | 13:03 | |
*** franred has quit IRC | 13:06 | |
*** gtristan has joined #baserock | 13:16 | |
*** toscalix has joined #baserock | 13:39 | |
pedroalvarez | It definitely answers fast | 13:41 |
*** toscalix has quit IRC | 14:09 | |
*** toscalix has joined #baserock | 14:14 | |
*** dabukalam has quit IRC | 14:45 | |
*** dabukalam has joined #baserock | 14:46 | |
*** franred_ has quit IRC | 15:54 | |
paulsherwood | leeming: ybd calls it 'tree-server', fwiw | 15:57 |
*** jonathanmaw has quit IRC | 16:05 | |
*** franred_ has joined #baserock | 16:10 | |
*** radiofree has quit IRC | 16:19 | |
*** radiofree has joined #baserock | 16:21 | |
*** toscalix has quit IRC | 16:22 | |
*** gtristan has quit IRC | 16:41 | |
leeming | sorry only just got round to looking at the links from before.... pedroalvarez the things you referenced require me to have a repo url/sha, these are what I am hunting down | 17:22 |
leeming | tiagogomes, the simple REST example you gave is good, but do you know if i can do a search query? | 17:23 |
leeming | ^ I currently have a horrible search hack - http://trove.codethink.co.uk/cgit/delta/{$REPO}.git/tag/?h=v{$TAG} | 17:24 |
* leeming looks for REST documentation on baserock | 17:24 | |
leeming | ooo I think I've got it actually. thanks tiagogomes | 17:30 |
*** locallycompact has quit IRC | 17:34 | |
*** tiagogomes has quit IRC | 17:39 | |
*** rdale has quit IRC | 18:03 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!