Auto add "the upstream" + salsa repo as another remote
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Hi,
I know these are clearly feature requests, but I tried to outline my usual manual steps in bugs to provide us a chance to make usd even better.
One thing I do very often is to add the remote of the upstream (the real upstream of the project) to the repo. Now these days there is not a lot you can do, but it would be great to have that remote added (and optionally fetched) at usd clone.
Now how should you know the repo might be the biggest blocker for this, eventually I'd think a debian/control field of the VCS-* scope should become part of the standard.
like VCS-origin (https:/
OTOH for quite a while we might also just maintain a little mapper of the most common package<
Would you consider that useful and worth the effort?
Changed in usd-importer: | |
status: | New → Triaged |
Changed in usd-importer: | |
status: | Triaged → Confirmed |
milestone: | none → future |
tags: | added: clone remote |
I would be hesitant to have any mappings in the repository -- it's too likely to go out of date.
I would be willing to add code to `usd clone` to add a remote for upstream if it can find it from d/control. But note that it's a bit confusing, if, say, upstream changes repositories. And if you switch from, say, ubuntu/devel to ubuntu/trusty-devel and they are using different upstreams -- what should the semantic be?