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

use plugin configuration #398

Merged
merged 7 commits into from
Jul 2, 2024
Merged

use plugin configuration #398

merged 7 commits into from
Jul 2, 2024

Conversation

benjijamorris
Copy link
Contributor

What does this PR do?

Incorporate plugin's bump workflow

Before submitting

  • Did you make sure title is self-explanatory and the description concisely explains the PR?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you test your PR locally with pytest command?
  • Did you run pre-commit hooks with pre-commit run -a command?

Did you have fun?

Make sure you had fun coding 🙃

@benjijamorris benjijamorris requested a review from saeliddp July 1, 2024 19:48
- git tag --delete 1.0.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.2.dev0 2.1.2.dev1
"""

import subprocess # nosec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does #nosec do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bandit (part of our precommit) flags possible security vulnerabilities and it was mad about subprocess use, nosec skips that line

# -----DO NOT MODIFY THIS FILE-----
# This file should only be modified by bumpver, which should in turn only be ran
# via a GH Action
version = "0.1.7"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in order to complete this setup, you need to have something like this which watches for modifications to version.toml then builds and publishes if version.toml has been modified. You could also build and publish manually if you prefer

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that ours is currently set up to publish to artifactory, so yours might look more like this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah good point, I'll modify our publish.yml

hughes036
hughes036 previously approved these changes Jul 2, 2024
@benjijamorris benjijamorris requested a review from saeliddp July 2, 2024 21:42
@benjijamorris benjijamorris merged commit 3cbdd91 into main Jul 2, 2024
4 of 6 checks passed
@benjijamorris benjijamorris deleted the feature/auto_bump branch July 2, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants