Skip to content
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

version 1.0.0 - YAML support, new and stable Rule API #63

Merged
merged 37 commits into from
Sep 26, 2022

Conversation

@allburov allburov changed the title The first major release - 1.0.0 version 1.0.0 - YAML support, new and stable Rule API Sep 5, 2022
CHANGELOG.md Outdated Show resolved Hide resolved
@allburov allburov force-pushed the yaml-configuration branch 3 times, most recently from 05228bc to 4592005 Compare September 11, 2022 12:40
@allburov allburov force-pushed the yaml-configuration branch 2 times, most recently from 61aa8e8 to 048dc11 Compare September 12, 2022 12:57
@allburov
Copy link
Member Author

@Pro @zhan9san Hi!
Could you have a look at the changes for YAML configuration?
Readable readme is here: https://github.com/devopshq/artifactory-cleanup/tree/yaml-configuration

If you have a time - could you run the new version against your configuration files one time to make sure it works the same way it used to work.

python3 -mpip install git+https://github.com/devopshq/artifactory-cleanup.git@yaml-configuration

Suggestions and notes are welcome!

@allburov allburov marked this pull request as ready for review September 12, 2022 13:36
@donhui
Copy link
Contributor

donhui commented Sep 14, 2022

@allburov
I have tested cleanup docker images, it works for me.

@zhan9san
Copy link
Contributor

@allburov
If this is not urgent, I'll test it next week.

@Pro
Copy link
Contributor

Pro commented Sep 14, 2022

Will not have time to test it. Just a quick note from my side:

Since this is a new major release, you should use the chance to get rid of old/deprecated stuff.
IMHO backward compatibility does not need to be there for major version bumps.

@allburov
Copy link
Member Author

allburov commented Sep 14, 2022

@donhui thank you man!
@zhan9san sure, waiting for your feedback!

@Pro good point!
Do you mean to remove these features or I missed something?

  1. Load rules from python file
  2. CLI parameters artifactory-server, user, password
  3. under_score names for Rules

@Pro
Copy link
Contributor

Pro commented Sep 14, 2022

@donhui thank you man! @zhan9san sure, waiting for your feedback!

@Pro good point! Do you mean to remove these features or I missed something?

  1. Load rules from python file
  2. CLI parameters artifactory-server, user, password
  3. under_score names for Rules

Mainly thought about removing old/deprecated features, like the ones you already mention. Did not look in detail at all the changes.

@allburov
Copy link
Member Author

@Pro great, I agree with you, it was so annoying to keep them in mind when changing code... I'll remove all old features!

@donhui
Copy link
Contributor

donhui commented Sep 16, 2022

@allburov
I have a suggestion.
When deleting an artifact, can we print the size of each artifact to be deleted into the log?
Or, can the logs printed when deleting artifacts be expanded? So that users can customize the log.
Thanks.

@allburov
Copy link
Member Author

@donhui

can we print the size of each artifact

Added it!

deleting artifacts be expanded?

I was thinking about adding API for cleanuppolicy too - to handle some special case like cleaning docker or conan repositories. But for now it's too rare cases, so we can handle them in configuration just by using current rules.

@allburov allburov merged commit b6bf413 into master Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants