-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Correct file path and url parsing
These two bugs are both blocking our info-master job, so they are being grouped together. One is an issue with using an absolute rather than relative file path when adding a file to git. The other is parsing the url with safe slashes, which was causing issues with creation of repos that have slashes in the name. Issue: RELENG-4461 Change-Id: Ia63ffc5f157bfb5285e8c6bdb2274a91a384a3f4 Signed-off-by: Eric Ball <[email protected]>
- Loading branch information
Showing
4 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ repos: | |
########## | ||
|
||
- repo: https://github.com/ambv/black | ||
rev: 22.6.0 | ||
rev: 22.8.0 | ||
hooks: | ||
- id: black | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
Correct the file path for the JJB info file job. This was incorrectly set as | ||
an absolute path, but it needs to be relative to the git repo root. | ||
- | | ||
Add the "safe" parameter to URL parsing in create_project. This removes the | ||
default safe value which includes the forward slash. In this case, we do | ||
want to escape slashes that are part of the repo name. |