Merge ~racb/git-ubuntu:set-as-default-repository into git-ubuntu:main
Status: | Merged |
---|---|
Merged at revision: | 32ed90abfbf6475e8d4e582b3e5e8e50a1f9dae5 |
Proposed branch: | ~racb/git-ubuntu:set-as-default-repository |
Merge into: | git-ubuntu:main |
Diff against target: |
200 lines (+54/-2) 2 files modified
gitubuntu/importer.py (+22/-1) gitubuntu/importer_service_worker.py (+32/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andreas Hasenack | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Canonical Server Reporter | Pending | ||
Review via email: mp+440324@code.staging.launchpad.net |
Commit message
Make Jenkins happy
Description of the change
You might notice that I haven't added any tests.
Fundamentally we're adding a Launchpad API call, glued to a new CLI argument, and that's it. I don't think that testing that glue is valuable - it's just a single parameter being passed through. We could mock LP and check that the API call is happening, but again it's a single line. What is most likely to go wrong is some interaction between us and Launchpad's API, but just testing that we're calling the API in the way we're calling the API wouldn't find that.
Instead I've checked manually in production that "git ubuntu import --push --set-as-
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:32ed90abfbf 6475e8d4e582b3e 5e8e50a1f9dae5 /jenkins. canonical. com/server- team/job/ git-ubuntu- ci/19/
https:/
Executed test runs:
SUCCESS: VM Setup
SUCCESS: Build
SUCCESS: VM Reset
SUCCESS: Unit Tests
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. canonical. com/server- team/job/ git-ubuntu- ci/19// rebuild
https:/