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

(WIP) Cocogitto mono #392

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open

(WIP) Cocogitto mono #392

wants to merge 33 commits into from

Conversation

oknozor
Copy link
Collaborator

@oknozor oknozor commented May 15, 2024

No description provided.

Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 86.62700% with 427 lines in your changes are missing coverage. Please review.

Project coverage is 87.63%. Comparing base (ded0d4d) to head (45e01b0).

Files Patch % Lines
crates/cog-edit/src/lib.rs 0.00% 95 Missing ⚠️
crates/cog-log/src/lib.rs 54.20% 49 Missing ⚠️
crates/cog-commit/src/lib.rs 66.66% 48 Missing ⚠️
crates/cocogitto-config/src/git_hook.rs 18.18% 45 Missing ⚠️
crates/cog/src/main.rs 57.14% 30 Missing ⚠️
crates/cocogitto-commit/src/lib.rs 77.60% 28 Missing ⚠️
crates/cocogitto-tag/src/error.rs 18.75% 26 Missing ⚠️
crates/cocogitto-bump/src/error.rs 0.00% 25 Missing ⚠️
crates/cocogitto-config/src/lib.rs 89.08% 19 Missing ⚠️
crates/cog-init/src/lib.rs 79.72% 15 Missing ⚠️
... and 12 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #392      +/-   ##
==========================================
+ Coverage   86.66%   87.63%   +0.97%     
==========================================
  Files          49       58       +9     
  Lines        6987     8131    +1144     
==========================================
+ Hits         6055     7126    +1071     
- Misses        932     1005      +73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oknozor
Copy link
Collaborator Author

oknozor commented May 16, 2024

Current status
image

@oknozor
Copy link
Collaborator Author

oknozor commented May 18, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 18, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 19, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 19, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 19, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 19, 2024

Todos:

  1. Extract remaining commands in cocogitto into their dedicated crate.
  2. Remove use only cocogitto-config in the cli.
  3. Rename cog to cocogitto.
  4. cocogitto-hook doesn't need cocogitto-tag, just semver + a display impl for HookVersion.
  5. Remove usage of cocogitto-commit in cocogitto-changelog (flatten ChangelogCommit).
  6. Make use of this_error for non-user facing errors?
  7. Track usage of log (should be only used in command crates).
  8. rewrite the CI and Release steps to monorepo mode.
  9. Pre-release.
  10. Start dog fooding.

There will be a lot more to do, but from there we should be able to start reviewing per crate test coverage, split e2e tests into their respective command crates, implement the missing mutli tag ref for mono repo changelogs.

@oknozor
Copy link
Collaborator Author

oknozor commented May 21, 2024

graph

@oknozor
Copy link
Collaborator Author

oknozor commented May 21, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 21, 2024

image

@oknozor
Copy link
Collaborator Author

oknozor commented May 21, 2024

image

Copy link

cocogitto-bot bot commented May 21, 2024

✔️ 6a6bf74...45e01b0 - Conventional commits check succeeded.

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.

None yet

2 participants