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

Fixes for less used options of "mepo clone" #335

Merged
merged 7 commits into from
Jan 3, 2025

Conversation

pchakraborty
Copy link
Collaborator

Fixed bugs in

  • mepo clone --allrepos
  • mepo clone --registry

Created tests to cover these cases

1. shutil is required if --registry is passed
2. The function checkout_all_repos has the arg branch passed to it, not args, so use that instead
@pchakraborty pchakraborty requested a review from a team as a code owner January 3, 2025 19:20
@pchakraborty pchakraborty self-assigned this Jan 3, 2025
@pchakraborty pchakraborty added the bugfix This fixes a bug label Jan 3, 2025
@pchakraborty pchakraborty merged commit 26fc827 into main Jan 3, 2025
15 checks passed
@pchakraborty pchakraborty deleted the hotfix/pchakrab/allrepos-bug branch January 6, 2025 17:47
@pchakraborty pchakraborty restored the hotfix/pchakrab/allrepos-bug branch January 6, 2025 17:48
pchakraborty added a commit that referenced this pull request Jan 6, 2025
* Merge develop into main (#333)

* Working mepo completion (#325)

* mepo completion doesn't require the extra mepo-path.py anymore

* Added option --location

* Using "mepo --location"

* Removed bin directory #322

* Updated CHANGALOG

* Updated CHANGALOG

* Include etc, bump minor version

* Fix test for version

* Add stash indicator to status (#327)

* Add stash indicator to status

* Add blobless clone

* clone.py - (1) streamlined (2) branches are no longer in a detached state (3) updated tests (4) new tests

* Black formatting changes

* Updated test_mepo_clone.py to use https://github.com/pchakraborty/GEOSfvdycore-mepo-testing.git instead

* Updated CHANGELOG

* Some more refactoring

* clone.py - updated comments

* Added deprecation warning for 'mepo init'

* init removal is a deprecation warning

* Added missing space for --recurse-submodules. Also added a test where we clone a component with submodules

* Update CHANGELOG for release (#332)

* Update CHANGELOG for release

* Update CHANGELOG.md

---------

Co-authored-by: Matt Thompson <[email protected]>

---------

Co-authored-by: Matt Thompson <[email protected]>

* Fixes for less used options of "mepo clone" (#335)

* Fixed a couple of bugs

1. shutil is required if --registry is passed
2. The function checkout_all_repos has the arg branch passed to it, not args, so use that instead

* Added a test for mepo clone --allrepos

* Added test for mepo clone --registry

* Added Changelong entry, fixed test, made formatter happy

* Bumped version

* Fixed typo in Changelog

* Fixed test for checking version

---------

Co-authored-by: Purnendu Chakraborty <[email protected]>
@pchakraborty pchakraborty deleted the hotfix/pchakrab/allrepos-bug branch January 8, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants