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

Upgrade vagrant to Fedora 29 #653

Merged
merged 1 commit into from
Nov 14, 2018
Merged

Conversation

Zlopez
Copy link
Contributor

@Zlopez Zlopez commented Nov 5, 2018

Some things were changed:

  • virtualenv-3 is now virtualenv
  • sphinx version restriction was removed - 1.5.6 not working on python
    3.7
  • run alembic with heads instead of head, this will fix issue when
    more migrations should be applied at once

Signed-off-by: Michal Konečný [email protected]

@codecov-io
Copy link

codecov-io commented Nov 5, 2018

Codecov Report

Merging #653 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #653   +/-   ##
=======================================
  Coverage   90.98%   90.98%           
=======================================
  Files          56       56           
  Lines        2695     2695           
  Branches      354      354           
=======================================
  Hits         2452     2452           
  Misses        187      187           
  Partials       56       56

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 3806a11...cfcb7d2. Read the comment docs.

@@ -61,7 +61,7 @@

- name: Apply database migrations
become_user: "{{ ansible_env.SUDO_USER }}"
command: ~/.virtualenvs/anitya/bin/alembic upgrade head
command: ~/.virtualenvs/anitya/bin/alembic upgrade heads

Choose a reason for hiding this comment

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

Why not just ensure there is only one head at a time so that your migration path is explicit? This is what I do in Bodhi.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I need to look how is this checked in Bodhi. This was the first solution I came up with.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Couldn't find where this is checked in Bodhi, but I created a head merge migration script #654

@bowlofeggs
Copy link

bowlofeggs commented Nov 7, 2018 via email

@Zlopez
Copy link
Contributor Author

Zlopez commented Nov 7, 2018

This is the reason I didn't found it. I thought it is some check in pull request, but if this is only a test, I will add it to this PR.

@bowlofeggs
Copy link

bowlofeggs commented Nov 7, 2018 via email

@Zlopez
Copy link
Contributor Author

Zlopez commented Nov 8, 2018

I added the test with last commit, but we should first merge #654 to fix the failing test.

Copy link

@bowlofeggs bowlofeggs left a comment

Choose a reason for hiding this comment

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

LGTM, just a suggestion.

bowlofeggs
bowlofeggs previously approved these changes Nov 8, 2018
@Zlopez
Copy link
Contributor Author

Zlopez commented Nov 14, 2018

Rebased after merge of #654

Some things were changed:
* virtualenv-3 is now virtualenv
* sphinx version restriction was removed - 1.5.6 not working on python
3.7
* Add alembic tests

Signed-off-by: Michal Konečný <[email protected]>
Copy link

@cverna cverna left a comment

Choose a reason for hiding this comment

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

+1

@mergify mergify bot merged commit 67182e5 into fedora-infra:master Nov 14, 2018
@Zlopez Zlopez deleted the container branch February 22, 2019 08:43
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.

4 participants