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 info/about.json #941

Merged
merged 4 commits into from
Jun 3, 2016
Merged

add info/about.json #941

merged 4 commits into from
Jun 3, 2016

Conversation

ilanschnell
Copy link
Contributor

In this PR, we add info/about.json to the conda package, which contains the following keys:

home, dev_url, doc_url, license_url, license, summary, description, license_family

There are simply copied from the about section in meta.yaml (if they exist).
This addresses #939

@teoliphant teoliphant added the in_progress [deprecated] use milestones/project boards label May 12, 2016
@ilanschnell ilanschnell added enhancement and removed in_progress [deprecated] use milestones/project boards labels May 12, 2016
@msarahan
Copy link
Contributor

I'm not sure about your simplified file writing. I think it should work - and the Travis tests seem happy enough, but do you know why that was there in the first place?

@ilanschnell ilanschnell changed the title Ilan/about add info/about.json May 12, 2016
@ilanschnell
Copy link
Contributor Author

I have no idea why the file writing was done so complicated in the first place.

@codecov-io
Copy link

Current coverage is 10.4%

Merging #941 into master will decrease coverage by -<.1%

@@             master       #941   diff @@
==========================================
  Files            41         41          
  Lines          5287       5292     +5   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            549        549          
- Misses         4738       4743     +5   
  Partials          0          0          

Powered by Codecov. Last updated by 656146d...c1de288

@msarahan msarahan modified the milestone: 2.0 May 12, 2016
@@ -218,13 +217,20 @@ def create_info_files(m, files, include_recipe=True):
info_index['depends'] = [' '.join(dist.rsplit('-', 2))
for dist in dists]

# Deal with Python 2 and 3's different json module type reqs
mode_dict = {'mode': 'w', 'encoding': 'utf-8'} if PY3 else {'mode': 'wb'}
Copy link
Contributor

@groutr groutr May 12, 2016

Choose a reason for hiding this comment

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

I think it might be important that we keep the encoding: uft-8 part. I'm guessing it was like this to support unicode.

@ilanschnell
Copy link
Contributor Author

ilanschnell commented Jun 3, 2016

What is the status on this PR? The information in the extra file is needed by Anaconda Cloud.

@msarahan
Copy link
Contributor

msarahan commented Jun 3, 2016

I am uneasy about your simplification of file writing. Please remove that from your PR, and I'm happy to merge your info.json file addition.

@ilanschnell
Copy link
Contributor Author

@msarahan, here you go

@msarahan msarahan merged commit cae2e6c into master Jun 3, 2016
@msarahan
Copy link
Contributor

msarahan commented Jun 3, 2016

thanks

@msarahan msarahan deleted the ilan/about branch June 3, 2016 21:59
@kenodegard kenodegard added type::feature request for a new feature or capability and removed type::enhancement labels Jan 19, 2022
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Jan 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants