forked from conda/constructor
-
Notifications
You must be signed in to change notification settings - Fork 0
Briefcase uninstall #2
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
Closed
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9286bb4
Dummy commit
lrandersson 92735f0
Temporarily disable verbosity
lrandersson efe3ef3
Set appropriate version, raise error on missing executable
lrandersson 0d0063b
Update github workflow and briefcase test integration
lrandersson a32f560
Fixed typo in os-function
lrandersson 6a23b55
Add missing argument
lrandersson 3d11d7f
Change version field to 1.0.0 instead of X
lrandersson fc95186
Add initial test changes
lrandersson 2aeddae
More fixes
lrandersson 946f89a
Add dependency and env variable for github workflow
lrandersson 9be1852
Some more fixes
lrandersson 6b94025
Fix spelling error
lrandersson 5d3c3cd
Undo earlier change sine it wasn't the correct way
lrandersson 50a47b9
Initial work for pre_uninstall
lrandersson 9663143
Add tests for initial setup
lrandersson aad10ac
A few fixes
lrandersson 13e2cbe
Add batfile as a docstring right now
lrandersson b7898b5
Pre-commit and add script
lrandersson 9a69231
Add working uninstallation
lrandersson 3dc6e48
Update test and add missing comma-sign
lrandersson 4e6606a
Improve documentation and fixing language
lrandersson 702f8ef
Fix code clarity and removal of 'envs' dir
lrandersson 80851eb
Add separate clean up of pkgs
lrandersson ef398ec
Fix formatting
lrandersson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This approach is a bit different from how we currently handle
run_installation.bat. I'd like to hear some feedback/thoughts on what you (the reviewer) thinks.I went with this class-based approach because I think it's better in terms of future maintenance and also makes unit testing very convenient, and easy to read. All the code for it is in one place and easy to follow. I think most of
constructoris written in a "scripted" approach and I think that works for small projects, but for larger projects it can quickly become cumbersome. I would argue the project could benefit from a more object-oriented approach in general.Moreover, simplifying the testing would be a good win for the project. One of the major pain points in
constructoris the difficulty of running the tests locally, and to do it fast and "as close to production" as possible.If we don't wanna go with this approach, it wouldn't take a lot of effort to simply add a
pre_uninstall.batand change the implementation, but I would propose we add something similar also forrun_installation.bat(I'm happy to do that update if we go with it).