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 optional targets for reference.json and update.tar to conda-diff-tar #21

Merged
merged 11 commits into from
Oct 2, 2020

Conversation

FaustinCarter
Copy link

@FaustinCarter FaustinCarter commented Aug 21, 2020

This PR adds a feature to diff_tar.py wherein the user can now specify --infile and/or --outfile arguments to the conda-diff-tar script in order to specify where files should read/write from/to. Behavior is:

  • With --create, infile refers to the reference.json file, outfile refers to the update.tar file.
  • With --reference, infile is not accepted, outfile refers to the reference.json file.
  • With --show, infile refers to the references.json file, outfile is not accepted.

This PR adds unit tests for the above.

This PR also adds Windows compatibility to all the tests. I tried to keep these fixes in their own commits for the most part to make cherry-picking easier if this is not a desired feature.

This PR closes #19 and also #17.

There is still a little work to do surrounding updating the changelog to reflect the new feature and potentially assigning a new minor version number. I'm not quite sure what the right format is, and was hoping to get some pointers from the maintainers for what changes would need to be added to merge this new feature in.

@FaustinCarter FaustinCarter marked this pull request as ready for review August 24, 2020 15:35
@FaustinCarter
Copy link
Author

@xhochy @sodre @goanpeca @beckermr Hey all, is there any chance of getting an initial review of this? Or is this not a feature that is interesting?

@goanpeca
Copy link
Member

goanpeca commented Oct 2, 2020

Hi @FaustinCarter, I am not directly involved with this project, so I would need to ask other team members.

@scopatz should we have some teams setup to ping "everyone" or at least the devs involved in a given project?

Cheers!

@beckermr
Copy link
Member

beckermr commented Oct 2, 2020

yes @goanpeca - we have maintenance teams for projects written into our governance - feel free to make then as you see fit!

We should make a common name for them, something like conda-mirror-dev or conda-mirror-core would be fine by me.

@goanpeca
Copy link
Member

goanpeca commented Oct 2, 2020

Sounds good @beckermr , I started creating one a few days ago @conda-incubator/setup-miniconda-team 😆. Core and dev sounded more abstract and unfriendly than... team :-)

@beckermr
Copy link
Member

beckermr commented Oct 2, 2020

Great! -team is perfect!

@xhochy
Copy link
Member

xhochy commented Oct 2, 2020

I've added a CODEOWNERS file over at #24 That should also help to notify us maintainers of PRs. This just slipped through my wall of notifications because of that.

@xhochy xhochy self-requested a review October 2, 2020 14:31
@xhochy xhochy merged commit b9e5923 into conda-incubator:master Oct 2, 2020
@goanpeca
Copy link
Member

goanpeca commented Oct 2, 2020

@goanpeca
Copy link
Member

goanpeca commented Oct 2, 2020

@beckermr
Copy link
Member

beckermr commented Oct 2, 2020

We should put the mirror team in the code owners file and remove the people there to make life easier.

@goanpeca
Copy link
Member

goanpeca commented Oct 2, 2020

We should put the mirror team in the code owners file and remove the people there to make life easier.

👍

@FaustinCarter FaustinCarter deleted the feature_diff-tar branch October 2, 2020 14:54
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.

Tests relying on path equality fail on Windows
4 participants