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

Update dependencies #1519

Merged
merged 10 commits into from Oct 2, 2018
Merged

Update dependencies #1519

merged 10 commits into from Oct 2, 2018

Conversation

Croydon
Copy link
Contributor

@Croydon Croydon commented Jul 6, 2018

Closes #1499
Closes #1237
Closes #1547
Closes #1534
Closes #1543
Closes #1490
Fixes #1539

I couldn't get #1365 & #1506 to work as these commits always froze Node 6 testing on Windows.

@Croydon Croydon force-pushed the node10 branch 2 times, most recently from 0df376a to d1fd091 Compare July 27, 2018 01:51
@Croydon Croydon changed the title CI: Add Node.js 10 WIP: Add support for Node.js 10 Jul 27, 2018
@Croydon Croydon force-pushed the node10 branch 13 times, most recently from cf000d5 to 00db706 Compare July 29, 2018 01:18
@Croydon Croydon changed the title WIP: Add support for Node.js 10 Update dependencies Jul 29, 2018
@Croydon Croydon force-pushed the node10 branch 2 times, most recently from 5c18164 to e31a4f4 Compare August 22, 2018 16:37
@Croydon
Copy link
Contributor Author

Croydon commented Aug 22, 2018

Node.js 6 on AppVeyor is exceeding the time limit of 1h and I'm not sure why. Has someone any idea?

@Croydon
Copy link
Contributor Author

Croydon commented Sep 1, 2018

Node 6 on Windows:

It seems to always freeze at the test step. At or after (not sure, likely after as the output indicates that the test is successful) the commit √ can get the commit diff test.

Can someone have a look who is more familiar with nodegit?

.travis.yml Outdated
- master
- /^v\d+\.\d+\.\d+$/
sudo: true
dist: xenial
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't update to xenial until April of 2019. Ubuntu 14 is our minimum support until LTS ends.

Copy link
Member

Choose a reason for hiding this comment

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

Really? Xenial seems to be pretty standard now. Is it possible that trusty would work and xenial would fail? Which would be more likely.

Copy link
Member

Choose a reason for hiding this comment

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

It's more likely that xenial would work and trusty would fail. My main concern is that libcurl dependency for proxy support being dynamically linked.

@Croydon Croydon force-pushed the node10 branch 2 times, most recently from e56b722 to 7f4fd05 Compare September 19, 2018 23:06
@tbranyen
Copy link
Member

This looks promising, I'll focus attention on this branch. How did you get the test error: Error: Callback is required and must be a Function. fixed?

@Croydon Croydon force-pushed the node10 branch 4 times, most recently from efc8fe6 to 9c7ef07 Compare September 28, 2018 18:57
@Croydon
Copy link
Contributor Author

Croydon commented Sep 28, 2018

Okay, after who knows how many rebases, commits and resets this should be merge ready.

@implausible @tbranyen

@implausible
Copy link
Member

The tests failed, so I just restarted them to see if it's some of that appveyor inconsistencies I've seen with compiling.

@Croydon
Copy link
Contributor Author

Croydon commented Sep 28, 2018

Oh no. That seems like the same bug as CI had before at some points. Node 6 on Windows freezes in some test and never resumes.

Seems like some dependency update isn't compatible with Node 6 or brings another behaviour as on the newer Node versions.

@Croydon
Copy link
Contributor Author

Croydon commented Sep 29, 2018

So, the freezes are coming from the promisify-node commits (first two)...

@Croydon
Copy link
Contributor Author

Croydon commented Sep 29, 2018

I have ripped out the promisify-node updates, now CI should give green light

appveyor.yml Outdated

branches:
only:
- master
Copy link
Member

Choose a reason for hiding this comment

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

Correct me if I'm wrong, but doesn't the removal of this line cause every branch on the nodegit repo to be built / tested on appveyor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, and in every fork with has activated AppVeyor.
Having the CI running only in pull requests in annoying.

Copy link
Member

Choose a reason for hiding this comment

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

I don't think I am willing to approve this change. For instance, some maintainers, not just myself, will push their branches to the nodegit repo, and then make PRs against master. In those instances, we will be double building branches for no reason. It will also clutter up our appveyor / travis test results.

Is it too much to ask to create a pull request when you are looking to test against CI? I'm sorry that you feel that's too annoying!

Copy link
Member

Choose a reason for hiding this comment

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

At best we could split this and the travis change out, and come back to it in a separate PR where we can have more discussion about it.

Dear future contributors, please update this in April 2019 when Trusty becomes EOL.

Keep extended testing and documentation upload on Xenial as it is easier there to install required dependencies and other nice perks.

Also don't allow Node 10 to fail anymore.
@Croydon
Copy link
Contributor Author

Croydon commented Oct 1, 2018

Removed commits which lets the Travis and AppVeyor run on all branches, even though I would strongly recommend it for the future.

.travis.yml Outdated Show resolved Hide resolved
@implausible
Copy link
Member

Thanks @Croydon!

@implausible implausible merged commit 722a3b6 into nodegit:master Oct 2, 2018
@Croydon Croydon deleted the node10 branch October 2, 2018 17: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.

None yet

3 participants