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

Link to commit of latest version if known #874

Merged

Conversation

nphilipp
Copy link
Member

This only links the commit from the latest version field, where we can make it explicit that it's a commit, not a release page or anything:

Screenshot from 2019-12-20 23-18-55

@nphilipp nphilipp force-pushed the master--github.ghproxy.topmit-url branch from d249a23 to de07fe5 Compare December 20, 2019 22:41
@codecov-io
Copy link

codecov-io commented Dec 20, 2019

Codecov Report

Merging #874 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #874      +/-   ##
==========================================
+ Coverage   97.03%   97.07%   +0.03%     
==========================================
  Files          61       61              
  Lines        3577     3587      +10     
  Branches      512      512              
==========================================
+ Hits         3471     3482      +11     
  Misses         64       64              
+ Partials       42       41       -1
Impacted Files Coverage Δ
anitya/lib/utilities.py 94.44% <ø> (ø) ⬆️
anitya/lib/backends/github.py 100% <100%> (+0.87%) ⬆️
anitya/db/models.py 100% <100%> (ø) ⬆️
anitya/lib/versions/base.py 100% <100%> (ø) ⬆️

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 b7e91da...1ec5e62. Read the comment docs.

@nphilipp nphilipp force-pushed the master--github.ghproxy.topmit-url branch 3 times, most recently from 3499676 to 354c14f Compare December 23, 2019 14:28
@nphilipp nphilipp force-pushed the master--github.ghproxy.topmit-url branch 2 times, most recently from cf1b4d5 to cd55786 Compare January 2, 2020 15:34
Copy link
Contributor

@Zlopez Zlopez left a comment

Choose a reason for hiding this comment

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

Two small changes:

  • Squash commits
  • Add news file

@nphilipp nphilipp force-pushed the master--github.ghproxy.topmit-url branch 2 times, most recently from 575b60d to 29baad0 Compare January 9, 2020 16:35
@nphilipp
Copy link
Member Author

Hmm, there are two failures flagged by Travis CI:

  • Add cross reference #1008.6 "Python: 3.7": anitya.tests.test_check_service::CheckerTests::test_run_timeout() failing which it does every now and again, without rhyme or reason
  • Add cross reference #1008.7 "Python: nightly": ERROR: InterpreterNotFound: python3.8

I'll force push again to see if the #1008.6 issue improves, there's nothing I can do about the latter.

- Add ProjectVersion.commit_url
  This is to let us store URLs pointing to tagged commits.
- GitHub: Store received commit URLs for versions
- Set commit_url on version objects
- Add Project.latest_version_object property

Fixes: fedora-infra#590

Signed-off-by: Nils Philippsen <[email protected]>
@nphilipp nphilipp force-pushed the master--github.ghproxy.topmit-url branch from 29baad0 to 1ec5e62 Compare January 10, 2020 11:27
@Zlopez
Copy link
Contributor

Zlopez commented Jan 13, 2020

@nphilipp 3.8 could be safely ignored
However the test_run_timeout test is failing sometimes and I can't figure out why exactly is this happening.

@mergify mergify bot merged commit c235f95 into fedora-infra:master Jan 13, 2020
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