-
Notifications
You must be signed in to change notification settings - Fork 2
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
PB-1083: Add simple versioning #91
PB-1083: Add simple versioning #91
Conversation
… 'babs-v2-{LANG}'
…le-lint requirements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the code is OK apart from the changes in logging-cfg-local.yml
. Maybe look into that again if you really need these.
Now for the commit messages: I thought we had a guideline on those, but I can't find them. Maybe @ltshb knows.
Usually we put the ticket number in front. Also, I think it's common to use the imperative, see this: https://cbea.ms/git-commit/#imperative
logging-cfg-local.yml
Outdated
@@ -1,13 +1,13 @@ | |||
version: 1 | |||
disable_existing_loggers: False # this allow to get logger at module level | |||
disable_existing_loggers: false # this allow to get logger at module level |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I think this was upper case because this was read by python? You shouldn't be needing ansible-lint here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was checking that : the default for yaml boolean capitalization for yaml linter is all lowercase. I would be in favor of keeping it as Sami did, since it would bring the config file to a standard value.
With that being said, it would be best to also do so in the base template and be consistent across all repos, but those are small changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, that makes sense. I just ran lint on the whole project, I'm assuming then that you only run it on code files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me :)
The commit messages should be :
(if the summary is explicit by itself, no need for a list of changes). |
I'll keep that in mind, I don't think I can change commit messages now 😄 |
…following PR review. -renamed all occurrences of true/false to True/False
@ltkum @schtibe @sami-nouidri-swisstopo the commit message from @ltkum is not 100% correct:
Listing changes that can be easily seen in code diff in commit message don't help, it help more to add description on the why and how to understand the changes. See https://github.com/geoadmin/doc-guidelines/blob/master/GIT_FLOW.md#pull-request-rules |
Good to know, thanks. I should look to making my future commits with VS Code, as writing verbose messages is not easy in command line |
Issue :
The old folder structure & naming scheme lacked simple versioning in its denomination. As such, it needs to be changed to reflect the version number. Legacy icons in /static/images/babs are not affected.
Fix:
The folder structure has been renamed, and all references to existing babs-{LANG} icon sets have been changed to reflect the new naming scheme.