prepare-upload verification breaks on non-default but valid remotes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
In Progress
|
Medium
|
Robie Basak |
Bug Description
Hi,
today I wanted to upload DPDK.
I happened to run into this bug:
$ git ubuntu push-for-upload
Traceback (most recent call last):
File "/snap/
load_
File "/snap/
sys.
File "/snap/
print(main(
File "/snap/
assert gitubuntu.
AssertionError
The assertion per code is:
VCS_GIT_
r'https://[A-Za-z0-
)
But my remote wasn't set up by git-ubuntu, since I worked on this since the very early days.
Thereby it is:
paelzer ssh://<email address hidden>
paelzer ssh://<email address hidden>
I use ssh for fetch as well which IMHO is just as fine.
So maybe the regexp should do (https|ssh) in place of just https.
Not sure if non secure 'http' might also be an option or '<email address hidden>' as well.
For the time being I've reconfigured it to the following and now it works:
paelzer https:/
paelzer ssh://<email address hidden>
Related branches
- Server Team CI bot: Approve (continuous-integration)
- git-ubuntu developers: Pending requested
- Athos Ribeiro: Pending requested
-
Diff: 206 lines (+98/-21)2 files modifiedgitubuntu/prepare_upload.py (+42/-17)
gitubuntu/prepare_upload_test.py (+56/-4)
- Athos Ribeiro (community): Approve
- Server Team CI bot: Approve (continuous-integration)
- git-ubuntu developers: Pending requested
-
Diff: 19208 lines (+18908/-0) (has conflicts)50 files modifieddoc/README.md (+117/-0)
doc/SPECIFICATION (+167/-0)
doc/release-process.md (+264/-0)
gitubuntu/changelog_date_overrides.txt (+19/-0)
gitubuntu/changelog_tests/maintainer_name_inner_space (+8/-0)
gitubuntu/changelog_tests/maintainer_name_leading_space (+8/-0)
gitubuntu/changelog_tests/maintainer_name_trailing_space (+8/-0)
gitubuntu/changelog_tests/test_date_1 (+8/-0)
gitubuntu/changelog_tests/test_date_2 (+8/-0)
gitubuntu/changelog_tests/test_distribution (+8/-0)
gitubuntu/changelog_tests/test_distribution_source_1 (+8/-0)
gitubuntu/changelog_tests/test_distribution_source_2 (+8/-0)
gitubuntu/changelog_tests/test_distribution_source_3 (+8/-0)
gitubuntu/changelog_tests/test_distribution_source_4 (+8/-0)
gitubuntu/changelog_tests/test_maintainer_1 (+8/-0)
gitubuntu/changelog_tests/test_maintainer_2 (+8/-0)
gitubuntu/changelog_tests/test_maintainer_3 (+8/-0)
gitubuntu/changelog_tests/test_versions_1 (+8/-0)
gitubuntu/changelog_tests/test_versions_2 (+14/-0)
gitubuntu/changelog_tests/test_versions_3 (+26/-0)
gitubuntu/clone.py (+178/-0)
gitubuntu/git_repository.py (+3026/-0)
gitubuntu/git_repository_test.py (+1191/-0)
gitubuntu/importer.py (+2703/-0)
gitubuntu/importer_service.py (+916/-0)
gitubuntu/importer_service_broker.py (+178/-0)
gitubuntu/importer_service_poller.py (+239/-0)
gitubuntu/importer_service_poller_test.py (+66/-0)
gitubuntu/importer_service_worker.py (+311/-0)
gitubuntu/importer_test.py (+2288/-0)
gitubuntu/prepare_upload.py (+215/-0)
gitubuntu/prepare_upload_test.py (+268/-0)
gitubuntu/repo_builder.py (+450/-0)
gitubuntu/scriptutils.py (+226/-0)
gitubuntu/source-package-allowlist.txt (+2881/-0)
gitubuntu/source-package-denylist.txt (+56/-0)
gitubuntu/source_builder.py (+344/-0)
gitubuntu/source_information.py (+785/-0)
gitubuntu/source_information_test.py (+503/-0)
gitubuntu/submit.py (+252/-0)
man/man1/git-ubuntu-clone.1 (+68/-0)
man/man1/git-ubuntu-export-orig.1 (+63/-0)
man/man1/git-ubuntu-import.1 (+224/-0)
man/man1/git-ubuntu-merge.1 (+134/-0)
man/man1/git-ubuntu-queue.1 (+96/-0)
man/man1/git-ubuntu-remote.1 (+86/-0)
man/man1/git-ubuntu-submit.1 (+97/-0)
man/man1/git-ubuntu-tag.1 (+88/-0)
man/man1/git-ubuntu.1 (+217/-0)
setup.py (+40/-0)
tags: |
added: prepare-upload removed: push-for-upload |
summary: |
- push-for-upload verification breaks on non-default but valid remotes + prepare-upload verification breaks on non-default but valid remotes |
Changed in usd-importer: | |
assignee: | nobody → Robie Basak (racb) |
status: | Triaged → In Progress |
Thank you for the report.
ssh://<email address hidden>/ is actually invalid from the importer's point of view since it cannot use that to fetch rich history. However, there's no reason that push-for- upload/ prepare- upload can't automatically map that to https:/ /git.launchpad. net/, so I'll leave this bug open to do that.