Write out metadata about git repos on disk
Bug #1849742 reported by
Haw Loeung
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
turnip |
Triaged
|
Low
|
Unassigned |
Bug Description
Hi,
Would be nice to write out metadata about git repos on disk. This would help us easily map the directories and git processes to which repos they're working on.
For example, '/srv/turnip/
There's a 'description' file, might be worth adding there?
| Unnamed repository; edit this file 'description' to name the repository.
Changed in turnip: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Here's a workaround (possibly not optimal, but explain seemed OK and it returned quickly:
launchpad_prod=# select person.name as owner, product.name as project, gitrepository.name as repo from gitrepository, person, product where gitrepository.id = 30355 and gitrepository.owner = person.id and gitrepository. project = product.id; ------- ---+--- ------- ------- ---+--- ------- ------- ---
owner | project | repo
-------
ubuntu-security | ubuntu-cve-tracker | ubuntu-cve-tracker
(1 row)
launchpad_prod=# _
But it would certainly be more convenient if this information were closer to hand.