Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BF (codename "happy travis"): trying to address lints etc to make Travis green again#702

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 14 commits intogitpython-developers:masterfromyarikoptic:bf-happy-travis
Dec 11, 2017

Conversation

yarikoptic
Copy link
Contributor

Some minor RFings did creep in, hopefully I didn't change any logic (tests will show ;) ).

hugovk reacted with thumbs up emoji
@codecov-io
Copy link

codecov-io commentedNov 28, 2017
edited
Loading

Codecov Report

Merging#702 intomaster willincrease coverage by1.51%.
The diff coverage is91.93%.

Impacted file tree graph

@@            Coverage Diff             @@##           master     #702      +/-   ##==========================================+ Coverage   92.83%   94.35%   +1.51%==========================================  Files          61       61                Lines       10152    10136      -16     ==========================================+ Hits         9425     9564     +139+ Misses        727      572     -155
Impacted FilesCoverage Δ
git/test/test_submodule.py99.23% <ø> (+1.71%)⬆️
git/repo/base.py95.96% <0%> (+0.67%)⬆️
git/refs/log.py93.84% <0%> (ø)⬆️
git/diff.py99.11% <100%> (ø)⬆️
git/test/test_git.py98.8% <100%> (+0.01%)⬆️
git/test/test_commit.py100% <100%> (ø)⬆️
git/compat.py65.03% <100%> (+0.21%)⬆️
git/exc.py96.42% <100%> (ø)⬆️
git/test/test_util.py98.52% <100%> (+10.29%)⬆️
git/test/lib/helper.py91.86% <50%> (+4.06%)⬆️
... and19 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update0a96030...f48d087. Read thecomment docs.

@yarikoptic
Copy link
ContributorAuthor

Travis is happy now, fighting with windows

@yarikoptic
Copy link
ContributorAuthor

my question would be -- did hooks ever work on windows??? or tests were testing only that they "fail to work"? ;)

@yarikoptic
Copy link
ContributorAuthor

the last succesful build on appveyor washttps://ci.appveyor.com/project/Byron/gitpython/build/1.0.161 -- at that point there where no tests for succesful hooks execution. So AFAIK they never worked, and I am offloading that for future to#703 . In this one I will skip those tests tests to establish a reliable baseline for now

@ankostis
Copy link
Contributor

Kudos to tour efforts and happy fighting ;-)

Regarding hooks, at the time of#519 and for some months later all remaining test-cases were passing on Windows, e.g.https://ci.appveyor.com/project/ankostis/gitpython/build/1.0.433
You may read#525 where i explain the trick to artificially pass Appveyor, and use it to mark also the hooks-TCs as permanently failing.

BTW you may check if your recent efforts have fixed some of those long disabled TCs.

@yarikoptic
Copy link
ContributorAuthor

@ankostis -- join the "fun"! but I think/hope I am "done"

hooks -- as ofhttps://ci.appveyor.com/project/ankostis/gitpython/build/1.0.433 you reference, there were no test for testingsuccessful execution of a hook on windows .

Thanks for the pointer toHIDE_WINDOWS_KNOWN_ERRORS -- I will use it instead of plain is_win (just will wait for tests to finish or fail to get a baseline ;))

As for the 'check' -- someone should just check if there is a similar to travisallow_failures, if so -- then there could be a dedicated matrix run which would do that for us, without requiring manual messing around... but that later -- for now just want it to get green.

@yarikoptic
Copy link
ContributorAuthor

But in the future (after we are green again), it would be nice if no PR was merged if tests fail...

@yarikoptic
Copy link
ContributorAuthor

woohoo -- some of the windows environments are green now! rebuilding to see if some spurious one didn't creep in. any immediate clue about what could be wrong in those anaconda windows ones@ankostis ?

@yarikoptic
Copy link
ContributorAuthor

ok,@Byron ,@ankostis et al, it is ready for the review. I will leave the appveyor crusade for later/someone else ATM (note a handy addition to .appveyor.yml) - at least some environments are in clear there as well, and travis is all green. Would be nice to establish the baseline of passing CI in master.

@ankostis
Copy link
Contributor

ankostis commentedNov 28, 2017
edited
Loading

I think it is not anaconda to blame but rather Cygwin's Git!
Sincegit-2.8+, I've seen huge problems with joining local paths, causing most of the 16 failures in the last 2 environments.

For instance ingit-2.8+ it doesn't even work the commandpip install git+https://github.com/foo/bar.git.
I believe it is this problem:http://lists-archives.com/git/894111-cygwin-git-cannot-install-python-packages-with-pip.html

@yarikoptic
Copy link
ContributorAuthor

Yikes

@ankostis
Copy link
Contributor

pip install git+http scheme failure on cygwin reported aspypa/pip#4895.

@yarikoptic
Copy link
ContributorAuthor

Well... would be nice to get it reviewed/merged at this stage of success so that at least some baseline is established back again, and then tackle cygwin in a more dedicated PR ;)

Copy link
Contributor

@hugovkhugovk left a comment

Choose a reason for hiding this comment

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

👍

It's important to get at least one CI green.

@@ -139,7 +139,7 @@ def repo_creator(self):
try:
try:
return func(self, rw_repo)
except:
except: # noqa E722
Copy link
Contributor

Choose a reason for hiding this comment

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

How aboutexcept Exception: like elsewhere?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

We could. But at this out-most level of handling execution, I thought to remain as "greedy" as possible. May be someone (among used dependencies) still manages to raise non-Exception "exceptions" up the chain from somewhere/somehow -- so I thought to remain catching them as well. In the other places it was more "specific" to not expect some complete weird stuff being thrown up. But if you insist, we could have it Exception here as well

@@ -296,7 +296,7 @@ def remote_repo_creator(self):
with cwd(rw_repo.working_dir):
try:
return func(self, rw_repo, rw_daemon_repo)
except:
except: # noqa E722
Copy link
Contributor

Choose a reason for hiding this comment

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

How aboutexcept Exception: like elsewhere?

@hugovkhugovk mentioned this pull requestDec 5, 2017
@ByronByron merged commita14277e intogitpython-developers:masterDec 11, 2017
@Byron
Copy link
Member

@yarikoptic Thanks so much for hanging into this! Especially your crusade to get the windows CI green is particularly brave!!@ankostis certainly has a tale to tell there, too!
I am merging this as it already is getting us some steps towards a somewhat sane Christmas release :D! Full disclaimer: I am on vacation now to the end of the year, and intend to get my inbox empty and spend the time it takes.
@yarikoptic@ankostis I understand I was the bottleneck for the upcoming release, and can't even promise betterment. However, if you are not yet able to cut a release on your own, but would like to, I am happily assigning you the rights needed and add your GPG signature keys to the ones officially endorsed by this repository. Just let me know, and we will make it happen.

hugovk reacted with thumbs up emoji

@yarikoptic
Copy link
ContributorAuthor

Thanks@Byron , I hope you will have a nice (and productive in all regards) vacation!
Here is my primary key, (public portion) should be available from public servers

pub   rsa4096/A2DE235062DA33FA 2010-06-07 Yaroslav Halchenko (Yarik) <yoh@onerussian.com> Primary key fingerprint: C5B9 05F0 E8D9 FD96 68FF  366F A2DE 2350 62DA 33FA

I usually (for other projects) "tag -s" releases locally, push the tags, create release out of them on github

I am yarikoptic on pypi

Byron added a commit that referenced this pull requestDec 11, 2017
> pub rsa4096/A2DE235062DA33FA 2010-06-07 Yaroslav Halchenko (Yarik) <yoh@onerussian.com>> Primary key fingerprint: C5B9 05F0 E8D9 FD96 68FF  366F A2DE 2350 62DA 33FAAs per#702 (comment)
@Byron
Copy link
Member

@yarikoptic Thanks - I added you to the list of maintainers on PyPi and your key to therelease-verification-key.asc, so you should be able to make your own signed releases from now on. Just to stay in training, I would like to dov2.1.8 though :).

@yarikoptic
Copy link
ContributorAuthor

oh yeah, I would prefer not to release unless I really have to ;) so I am ok to stay in training for as long as it could be ;-)

@yarikopticyarikoptic deleted the bf-happy-travis branchDecember 15, 2017 21:45
riley-martine pushed a commit to riley-martine/GitPython that referenced this pull requestDec 7, 2023
…travisBF (codename "happy travis"): trying to address lints etc to make Travis green again
riley-martine pushed a commit to riley-martine/GitPython that referenced this pull requestDec 7, 2023
> pub rsa4096/A2DE235062DA33FA 2010-06-07 Yaroslav Halchenko (Yarik) <yoh@onerussian.com>> Primary key fingerprint: C5B9 05F0 E8D9 FD96 68FF  366F A2DE 2350 62DA 33FAAs pergitpython-developers#702 (comment)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hugovkhugovkhugovk approved these changes

Assignees
No one assigned
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@yarikoptic@codecov-io@ankostis@Byron@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp