Skip to content

Conversation

@okineadev
Copy link
Member

@okineadev okineadev commented Mar 13, 2025

Simplify the code in bin/dotload by reducing validations and regex usage, and delegating validation to git.

  • Remove the error_msg function and the check_repo_exists function.
  • Simplify the branch validation logic.
  • Simplify the username and repository name extraction logic.
  • Remove the repository existence check.

For more details, open the Copilot Workspace session.

Simplify the code in `bin/dotload` by reducing validations and regex usage, and delegating validation to git.

* Remove the `error_msg` function and the `check_repo_exists` function.
* Simplify the branch validation logic.
* Simplify the username and repository name extraction logic.
* Remove the repository existence check.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/cli-stuff/dotload?shareId=XXXX-XXXX-XXXX-XXXX).
@okineadev okineadev merged commit 61b8397 into main Mar 13, 2025
1 check failed
@okineadev okineadev deleted the okineadev/simplify-dotload branch March 13, 2025 10:08
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.

2 participants