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

Fix marker duplication #59

Merged
merged 36 commits into from
Sep 30, 2019
Merged

Fix marker duplication #59

merged 36 commits into from
Sep 30, 2019

Conversation

techalchemy
Copy link
Member

#55 (4/4) deduplicate and merge markers using set logic (probably needs some cleanup but it mostly gets the job done now)

@techalchemy techalchemy force-pushed the fix-marker-duplication branch 2 times, most recently from 7d1d85e to 60e9ed8 Compare October 3, 2018 03:05
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
- Also clean up python specifiers

Signed-off-by: Dan Ryan <[email protected]>
- Also add magic methods to MetaSet object
- Super fast and efficient now due to set comparisons
- Old method had sometimes thousands of the same pyspecs
- This consolidates as it builds

Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>

Test fixes

Signed-off-by: Dan Ryan <[email protected]>

Fix specifier dedup logic

Signed-off-by: Dan Ryan <[email protected]>

Fix import

Signed-off-by: Dan Ryan <[email protected]>

Fix tox

Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>

Add set operations and comparison methods to metasets

Signed-off-by: Dan Ryan <[email protected]>

Add abstract extraction methods for marker cleanup

Signed-off-by: Dan Ryan <[email protected]>

Add intersection method for PySpecs and smarter unions and creation

Signed-off-by: Dan Ryan <[email protected]>

Simplify and cleanup metadata implementation

Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
@techalchemy techalchemy force-pushed the fix-marker-duplication branch from 60e9ed8 to 4d72b7a Compare October 3, 2018 05:38
.gitignore Outdated
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
Copy link
Member

Choose a reason for hiding this comment

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

Why does every PR has this. Maybe commit this first and base all PRs after it?

Signed-off-by: Dan Ryan <[email protected]>
@frostming frostming changed the base branch from master to add-tests-frost September 30, 2019 00:59
@codecov
Copy link

codecov bot commented Sep 30, 2019

Codecov Report

Merging #59 into add-tests-frost will decrease coverage by 1.41%.
The diff coverage is 44.06%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           add-tests-frost      #59      +/-   ##
===================================================
- Coverage            56.35%   54.94%   -1.42%     
===================================================
  Files                   42       42              
  Lines                 2335     2701     +366     
  Branches               388      475      +87     
===================================================
+ Hits                  1316     1484     +168     
- Misses                 915     1102     +187     
- Partials               104      115      +11
Impacted Files Coverage Δ
src/passa/actions/init.py 81.81% <ø> (ø) ⬆️
src/passa/actions/add.py 79.41% <ø> (ø) ⬆️
src/passa/cli/install.py 0% <ø> (ø) ⬆️
src/passa/actions/sync.py 0% <ø> (ø) ⬆️
src/passa/cli/clean.py 0% <0%> (ø) ⬆️
src/passa/models/providers.py 61.29% <0%> (ø) ⬆️
src/passa/cli/sync.py 0% <0%> (ø) ⬆️
src/passa/cli/upgrade.py 0% <0%> (ø) ⬆️
src/passa/cli/add.py 0% <0%> (ø) ⬆️
src/passa/cli/remove.py 0% <0%> (ø) ⬆️
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2682a8e...bc0b1f4. Read the comment docs.

@frostming frostming merged commit 1644593 into add-tests-frost Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants