Skip to content

Fix marker duplication - #59

Merged
frostming merged 36 commits into
add-tests-frostfrom
fix-marker-duplication
Sep 30, 2019
Merged

Fix marker duplication#59
frostming merged 36 commits into
add-tests-frostfrom
fix-marker-duplication

Conversation

@techalchemy

Copy link
Copy Markdown
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 <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
- Also clean up python specifiers

Signed-off-by: Dan Ryan <dan@danryan.co>
- 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 <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>

Test fixes

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix specifier dedup logic

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix import

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix tox

Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>

Add set operations and comparison methods to metasets

Signed-off-by: Dan Ryan <dan@danryan.co>

Add abstract extraction methods for marker cleanup

Signed-off-by: Dan Ryan <dan@danryan.co>

Add intersection method for PySpecs and smarter unions and creation

Signed-off-by: Dan Ryan <dan@danryan.co>

Simplify and cleanup metadata implementation

Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
@techalchemy
techalchemy force-pushed the fix-marker-duplication branch from 60e9ed8 to 4d72b7a Compare October 3, 2018 05:38
Comment thread .gitignore
# mypy
.mypy_cache/
.dmypy.json
dmypy.json

Copy link
Copy Markdown
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 <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
@frostming
frostming changed the base branch from master to add-tests-frost September 30, 2019 00:59
@codecov

codecov Bot commented Sep 30, 2019

Copy link
Copy Markdown

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