Repo: add commit_map_name to specify which mapping to look up (bug 2050335) #1322 (lando@main)
|
|
|
| Warnings |
|
| Blockers |
|
| Branches | bug2050335/repo-commit_map_name -> main |
| Repo | lando@main (git) (git://github.com/mozilla-conduit/lando.git) |
| Author | shtrom |
| State | open |
| Commit Title |
Repo: add commit_map_name to specify which mapping to look up (bug 2050335) |
| Commit Body |
* repo: add commit_map_name * CommitMap: remove unused get_git_repo_name method * tests: add kwargs to *repo_mc fixtures * CommitMap: honour commit_map_name from repo, if found * migrate_data: add 2_bug2050335_set_repo_commit_map_name * try_api: use Repo.commit_map_name instead of TRY_REPO_MAPPING * uplift_worker: log exception when failing to create Try job * Makefile: add migrations-show and migrations-rollback targets * CommitMap: absorb get_commit_map_name and get_commit_hash from try_api.api --- This will require a data migration to be run after deployment: lando migrate_data 2_bug2050335_set_repo_commit_map_name |