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

Add recipe for conda-devenv #2657

Merged
merged 1 commit into from
Mar 24, 2017
Merged

Conversation

nicoddemus
Copy link
Member

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/conda-devenv) and found it was in an excellent condition.

@nicoddemus
Copy link
Member Author

AppVeyor is currently broken: conda-forge/conda-smithy#489


source:
git_rev: {{ version }}
git_url: https://github.com/ESSS/conda-devenv.git
Copy link
Member

Choose a reason for hiding this comment

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

Is there a tag or release on PyPI that we can use?

Copy link
Member Author

Choose a reason for hiding this comment

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

There's a tag on the repository, but we don't pretend to release to PyPI since it is meant to be used with conda only (like conda-smithy itself for example).

Copy link
Member

Choose a reason for hiding this comment

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

Tag on the repo is fine. We just prefer to download a tarball instead of cloning is all.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh OK, will update it.


build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
Copy link
Member

Choose a reason for hiding this comment

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

Please add...

  entry_points:
    - conda-devenv = conda_devenv.devenv:main

Copy link
Member Author

Choose a reason for hiding this comment

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

Roger

Copy link
Member

Choose a reason for hiding this comment

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

note: Done below.

@nicoddemus
Copy link
Member Author

CI just passed. 👍

@nicoddemus
Copy link
Member Author

Oops @jakirkham did not see your comments.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/conda-devenv) and found some lint.

Here's what I've got...

For recipes/conda-devenv:

  • Failed to even lint the recipe (might be a conda-smithy bug) 😢

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/conda-devenv) and found it was in an excellent condition.

@nicoddemus
Copy link
Member Author

Hmm it seems we have reached the rate limit for AppVeyor.

@MSeifert04
Copy link
Contributor

There's a rate limit?

@jakirkham
Copy link
Member

Yes, there is a GitHub rate limit per user for requests to GitHub. Basically a security measure to avoid flooding GitHub with requests, but also some other reasons as well. AppVeyor makes all calls with one user, but I think other CIs attach them to the user doing the PR. Not sure why they can't change it though. 😕 ( appveyor/ci#1002 )

@jakirkham
Copy link
Member

Well that rate limit ended really fast. We must have been down to the last couple minutes. Take the win I guess. 😄

version: {{ version }}

source:
fn: '{{ version }}.tar.gz'
Copy link
Member

Choose a reason for hiding this comment

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

Optional, but could structure your filename like this. Helps with caching (and finding things 😄) if one does a lot of builds locally.

{% set name = "conda-devenv" %}
{% set version = "0.9.1" %}
{% set hash = "fe8e9be7d4f2df03b9a269a4b4b36ca67477c9b1d5c2af1af440f63b787f2f05" %}
package:
Copy link
Member

Choose a reason for hiding this comment

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

Could we please have a newline between package and the Jinja?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure done

number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
entry_points:
- conda-devenv = conda_devenv.devenv:main
Copy link
Member

Choose a reason for hiding this comment

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

nit: Would be nice if the indent size is uniform (e.g. only 2 spaces more here than entry_points).

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops sure

@nicoddemus
Copy link
Member Author

Hmm I just noticed recently that the Travis builds are starting much quicker than before. Did Travis add more OSX hosts to its build farm perhaps?

@jakirkham
Copy link
Member

I don't think they have added any workers.

The real cause, I believe, was fixing this issue. Basically we started noticing that simple steps were taking absurd amounts of time (particularly at high usage times). This likely caused this massive build in the queue as workers took longer to do the same thing than usual.

Shortly after we pointed this out to them, that issue got opened and the problem resolved. They also did some follow-up maintenance. After they completed the maintenance, we start seeing a significant improvement (see a screenshot of the status below).

In other words, we have likely been suffering from degraded service for months, which has caused the massive backlogs. Note the backlogs were in the ~1000s before now they are in the ~100s. So order of magnitude improvement.

FWIW you can thank @gqmelo for helping discover this issue.

screen shot 2017-03-23 at 19 52 20

@nicoddemus
Copy link
Member Author

Nice @jakirkham, thanks for the detailed response! I will thank @gqmelo personally tomorrow then! 👍

@jakirkham jakirkham merged commit 755ba46 into conda-forge:master Mar 24, 2017
@jakirkham
Copy link
Member

Thanks @nicoddemus.

@nicoddemus nicoddemus deleted the conda-devenv branch March 24, 2017 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants