Skip to content

Conversation

@tcdent
Copy link
Collaborator

@tcdent tcdent commented Feb 5, 2025

  • Initialize a new git repo if the project doesn't have one.
  • Start a transaction when we make modifications and create one commit per command run.
  • Commit changes when we modify the user's project.
  • Commit unsaved changes before we make a modification.
  • Use agentstack.json flag to disable git at the project level.
  • Use CLI flag to disable git.

@codecov
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

Attention: Patch coverage is 72.15909% with 49 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentstack/cli/init.py 8.33% 11 Missing ⚠️
agentstack/cli/tools.py 23.07% 10 Missing ⚠️
agentstack/cli/agents.py 42.85% 8 Missing ⚠️
agentstack/main.py 0.00% 7 Missing ⚠️
agentstack/cli/cli.py 33.33% 6 Missing ⚠️
agentstack/cli/tasks.py 50.00% 6 Missing ⚠️
agentstack/cli/templates.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@tcdent
Copy link
Collaborator Author

tcdent commented Feb 6, 2025

I like the idea of branches to manage major diversions, but let's do that in another PR so this doesn't get unwieldy.

@tcdent tcdent requested a review from bboynton97 February 6, 2025 02:19
@tcdent tcdent changed the title WIP Automatic git commits for changes. Automatic git commits for changes. Feb 6, 2025
@tcdent tcdent marked this pull request as ready for review February 6, 2025 02:19
@bboynton97 bboynton97 merged commit d77ae7d into agentstack-ai:main Feb 7, 2025
9 checks passed
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