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 handling with pontos #238

Merged
merged 5 commits into from
Apr 20, 2020
Merged

Version handling with pontos #238

merged 5 commits into from
Apr 20, 2020

Conversation

bjoernricks
Copy link
Contributor

@bjoernricks bjoernricks commented Apr 17, 2020

Use pontos for handling the version information in ospd-openvas

The version information must be handled in the pyproject.toml file and within the ospd openvas python package ospd_openvas/__version__.py.

To check if the current version information is in sync:

poetry run python -m pontos.version verify current

To show the current used version

poetry run python -m pontos.version show

To update to a different version

poetry run python -m pontos.version <new-version>

The version file module for ospd openvas is ospd_openvas/__version__.py
Ensure the version information in pyproject.toml and
ospd_openvas/__version__.py are in sync.
@bjoernricks bjoernricks marked this pull request as ready for review April 17, 2020 06:40
@codecov
Copy link

codecov bot commented Apr 17, 2020

Codecov Report

Merging #238 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
+ Coverage   79.72%   79.73%   +0.01%     
==========================================
  Files           7        8       +1     
  Lines        1430     1431       +1     
==========================================
+ Hits         1140     1141       +1     
  Misses        290      290              
Impacted Files Coverage Δ
ospd_openvas/__version__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d34191...51ce118. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 17, 2020

Codecov Report

Merging #238 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
+ Coverage   79.72%   79.73%   +0.01%     
==========================================
  Files           7        8       +1     
  Lines        1430     1431       +1     
==========================================
+ Hits         1140     1141       +1     
  Misses        290      290              
Impacted Files Coverage Δ
ospd_openvas/__version__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d34191...51ce118. Read the comment docs.

@jjnicola jjnicola merged commit 339ad6c into greenbone:master Apr 20, 2020
ArnoStiefvater pushed a commit to ArnoStiefvater/ospd-openvas that referenced this pull request Oct 25, 2021
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.

2 participants