-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify the 'sources_locked' section #146
Comments
The simplification could be done in scope of #170 |
Would it make sense to simply add an optional |
@brandonaut Yeah, I think that could work. It would be good to see a proof-of-concept PR for that to see how much has to change. |
I think I prefer to keep the sources:
- name: source1
type: git
repo: ...
- name: source2
type: git
repo: ...
sources_locked:
source1: revSource1
source2: revSource2
.... In my experiement this simplifies the Which to me is much easier to read and understand, particularly in the .yml file since it eliminate unnecessary |
I've run across a scenario where it would be very helpful to have Renovate doesn't have native Gitman support, but it does provide a way to add support for custom dependency managers by using regex matching and capture groups to help Renovate interpret a custom dependency file. For gitman.yml files, this almost works, as I can create most of the required capture groups, but I can't figure out a way to capture both If Hope that makes sense. |
Currently, the
sources_locked
section in the configuration file contains a full copy of the metadata from the correspondingsources
section. The only metadata required to lock a sources version isname
andrev
. The rest of the information can be obtained from the base source.The text was updated successfully, but these errors were encountered: