-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow repository name change via git scm basename paramter
Example: https://github.com/DMTF/Redfishtool.git vs network:utilities/redfishtool In mainline project the first letter 'R' is uppercase, but in OBS it's lowercase. Adding basename= parameter in _service file with this patch like: <param name="revision">main</param> <param name="versionformat">@PARENT_TAG@.@[email protected]%h</param> <param name="changesgenerate">enable</param> - </service> + <param name="basename">redfishtool</param> + </service> <service name="set_version" mode="localonly"/> <service name="tar" mode="buildtime"> </service> results in: redfishtool redfishtool-1.1.7.1.gfaa99dc.obscpio redfishtool-1.1.7.1.gfaa99dc.tar.xz redfishtool.obsinfo instead of (without basename param): Redfishtool Redfishtool-1.1.7.1.gfaa99dc.obscpio Redfishtool-1.1.7.1.gfaa99dc.tar.xz Redfishtool.obsinfo With this patch it is possible to adopt or rename any arbitrary git project name to its matching OBS project name and process it via OBS services.
- Loading branch information
Showing
3 changed files
with
13 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
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