Expose repository level via HTTPS



Developer Services
Mercurial: hg.mozilla.org
2 years ago
a year ago


(Reporter: dustin, Unassigned)



I know I can determine a repository's level with

  ssh hg.mozilla.org repo-group projects/pine

but that requires an SSH key, and I'd like to use this information in automation.  Is there, or could there be, a way to access this information via un-authenticated HTTPS?
we used to, but then it broken when we moved the hg web heads off NFS; all of the files on them are owned by hg:hg. we might be able to come up with something, but it'll take time/effort (unless gps already has some magic up his sleeve).
Even a JSON file listing all repos and their levels would be cool.  Updated once a day or something.

Comment 3

2 years ago
We can and should expose push permissions via hgweb.

But as fubar said, we need a new mechanism for representing this. It's probably a CRON on hgssh1 that looks at filesystem group owner and synchronizes a file to the webheads. Although, to incorporate this in hgweb, we might want that recorded in the .hg/hgrc file so it is easily accessible. It's not that much effort. But it feels low on the priority list.
QA Contact: hwine → klibby
You need to log in before you can comment on or make changes to this bug.