Commit Graph

105 Commits

Author SHA1 Message Date
Zanie Blue b14945a7b1 Bump version to 0.2.33 (#5712) 2024-08-01 21:39:17 +00:00
Charlie Marsh 38c232e466 Bump version to v0.2.32 (#5641) 2024-07-30 18:56:39 -04:00
Charlie Marsh 48162de974 Bump version to v0.2.31 (#5568) 2024-07-29 14:06:20 -04:00
Charlie Marsh 6901a14aa0 Bump version to v0.2.30 (#5486) 2024-07-26 13:36:05 -04:00
Zanie Blue 35b6726df5 Bump version to 0.2.29 (#5431) 2024-07-24 22:23:34 +00:00
Zanie Blue 3a85353707 Bump version to 0.2.28 (#5363) 2024-07-23 14:04:55 -05:00
Jo 43084249ee Add mypy type check for uv-python scripts (#5332)
## Summary

Per https://github.com/astral-sh/uv/pull/4853#issuecomment-2212505407

> If we're going to aim for full type coverage, we should probably
follow this by adding type checking in CI too otherwise it seems too
easy for it to become out of date.
2024-07-23 09:14:05 -05:00
konsti 746e4b2269 Mark uv itself as unmanaged (#5298)
I like to create dummy packages in the workspace, which interacts badly
with our pyproject.toml.
2024-07-22 20:12:11 +02:00
Zanie Blue 833097b93f Bump version to 0.2.27 (#5230) 2024-07-19 22:06:49 +00:00
Charlie Marsh fe403576c5 Bump version to v0.2.26 (#5149) 2024-07-17 12:51:11 -04:00
Charlie Marsh 6ac46d7275 Update pre-commit version with rooster (#5138) 2024-07-17 00:53:13 +00:00
Charlie Marsh d1010228b3 Bump version to v0.2.25 (#5083) 2024-07-15 22:38:59 +00:00
Zanie Blue 527b711bc7 Bump version to 0.2.24 (#4974) 2024-07-10 13:50:12 -05:00
Zanie Blue 4bc36c0cb8 Bump version to 0.2.23 (#4903) 2024-07-08 12:29:37 -05:00
Charlie Marsh f5e84bbbab Bump version to v0.2.22 (#4862) 2024-07-07 19:23:38 +00:00
Zanie Blue ebfe6d8fcc Bump version to 0.2.21 (#4757) 2024-07-03 04:27:00 +00:00
Zanie Blue e88e1373e6 Bump version to 0.2.20 (#4745) 2024-07-02 22:30:43 +00:00
Zanie Blue c5bf64abeb Bump version to 0.2.19 (#4738) 2024-07-02 21:15:58 +00:00
Charlie Marsh 13b0beb56f Bump version to v0.2.18 (#4650) 2024-06-29 14:30:01 -04:00
Zanie Blue 2eb1e6693c Bump version to 0.2.17 (#4573) 2024-06-26 23:16:44 +00:00
Charlie Marsh 95b4aacc25 Bump version to v0.2.16 (#4561) 2024-06-26 17:00:09 -04:00
Zanie Blue bfc342da94 Bump version to 0.2.15 (#4475)
Releasing 0.2.15 with a few additions over 0.2.14. Motivated by the
incorrect tagging of 0.2.14 (#4474).

Generated the changelog with a small patch to Rooster allowing me to
force the previous commit to be correct.

```diff
diff --git a/src/rooster/_cli.py b/src/rooster/_cli.py
index 2a4f61b..4ec1299 100644
--- a/src/rooster/_cli.py
+++ b/src/rooster/_cli.py
@@ -38,6 +38,7 @@ def release(
     without_sections: list[str] = typer.Option(
         [], help="Sections to exclude from the changelog"
     ),
+    previous_commit: str = None,
 ):
     """
     Create a new release.
@@ -58,7 +59,11 @@ def release(
         typer.echo("It looks like there are no version tags for this project.")
 
     # Get the commits since the last release
-    changes = list(get_commits_between(config, repo, last_version))
+    changes = list(
+        get_commits_between(
+            config, repo, last_version, force_first_commit=previous_commit
+        )
+    )
     since = "since last release" if last_version else "in the project"
     typer.echo(f"Found {len(changes)} commits {since}.")
 
diff --git a/src/rooster/_git.py b/src/rooster/_git.py
index 597bb88..66bc54e 100644
--- a/src/rooster/_git.py
+++ b/src/rooster/_git.py
@@ -29,12 +29,13 @@ def get_commits_between(
     target: Path,
     first_version: Version | None = None,
     second_version: Version | None = None,
+    force_first_commit: str | None = None,
 ) -> Generator[git.Commit, None, None]:
     """
     Yield all commits between two tags
     """
     repo = git.repository.Repository(target.absolute())
-    first_commit = (
+    first_commit = force_first_commit or (
         repo.lookup_reference(
             TAG_PREFIX + config.version_tag_prefix + str(first_version)
         )
```
2024-06-24 10:04:09 -05:00
Zanie Blue 64e07b68a8 Reapply "Bump version to 0.2.14" (#4472)
Restores #4431

This reverts commit 9ff6a5ed74 (#4436)
2024-06-24 09:14:16 -05:00
Charlie Marsh 1eee427c94 Add standalone CLI crate (#4456)
## Summary

This PR moves all the CLI code into its own crate, separate from the
`uv` crate. The `uv` crate is iterated on frequently, and the CLI code
comprises a significant portion of it but rarely changes. Removing the
CLI code reduces the `uv` crate size from 1.4MiB to 1.0MiB.
2024-06-24 06:16:22 -04:00
Zanie Blue 9ff6a5ed74 Revert "Bump version to 0.2.14 (#4431)" (#4436)
This reverts commit e0ad649c74.

We shouldn't be linking to this version in the readme.

See https://github.com/astral-sh/uv/issues/4432
2024-06-21 16:24:32 +00:00
Zanie Blue e0ad649c74 Bump version to 0.2.14 (#4431) 2024-06-20 13:58:10 -05:00
Zanie Blue fa6ed34105 Bump version to 0.2.13 (#4388) 2024-06-18 11:46:32 -05:00
Zanie Blue b8c0391667 Bump version to 0.2.12 (#4371) 2024-06-17 16:46:28 -05:00
Charlie Marsh 44041bccd2 Bump version to v0.2.11 (#4258) 2024-06-11 20:47:25 -04:00
Zanie Blue daee30aeb1 Add changelog for preview changes (#4251)
I tweaked rooster to allow sections to be overridden from the CLI so we
can generate a separate preview changelog

See https://github.com/zanieb/rooster/pull/43 for the rooster changes
needed

I tested `./scripts/release.sh` as well.
2024-06-11 19:16:29 -04:00
Zanie Blue fc4c2be3aa Exclude preview items from changelog (#4202)
These were not excluded explicitly, so they were landing in "Other
changes" or the relevant other section if multiple labels were applied.
2024-06-10 11:40:47 -05:00
Zanie Blue 907727cb1b Bump version to 0.2.10 (#4201) 2024-06-10 11:40:19 -05:00
Charlie Marsh e9fc99e622 Bump version to v0.2.9 (#4107) 2024-06-06 14:21:33 -04:00
Zanie Blue e48b9cd94b Bump version to 0.2.8 (#4076) 2024-06-05 21:09:05 +00:00
Charlie Marsh a241f148de Bump version to v0.2.7 (#4060) 2024-06-05 14:25:25 -04:00
Charlie Marsh a589ad5066 Bump version to v0.2.6 (#3991) 2024-06-03 17:40:28 +00:00
Charlie Marsh 47db418ba2 Bump version to v0.2.5 (#3885) 2024-05-28 18:05:32 +00:00
Zanie Blue 98652e3954 Bump version to 0.2.4 (#3840) 2024-05-26 12:11:15 -05:00
Zanie Blue ce4d862b06 Bump version to 0.2.3 (#3827) 2024-05-24 13:19:28 -05:00
Zanie Blue e52ae0e2bc Bump version to 0.2.2 (#3774) 2024-05-22 21:45:00 +00:00
Charlie Marsh 1fc71ea736 Bump version to v0.2.1 (#3763) 2024-05-22 20:05:17 +00:00
Zanie Blue 1dd6b89be8 Bump version to 0.2.0 (#3745) 2024-05-22 13:39:34 -05:00
Charlie Marsh a33a05e2d9 Bump version to v0.1.45 (#3674) 2024-05-20 16:34:05 -04:00
Zanie Blue d417daad7e Bump version to v0.1.44 (#3577) 2024-05-14 09:05:31 -05:00
Charlie Marsh 5132c6a6e2 Bump version to v0.1.43 (#3564) 2024-05-14 00:38:11 +00:00
Charlie Marsh 367958e6b2 Bump version to v0.1.42 (#3472) 2024-05-08 17:47:16 -04:00
Charlie Marsh b0d7a26431 Bump version to v0.1.41 (#3446) 2024-05-08 01:05:47 +00:00
Charlie Marsh 7fe9f0a3dd Bump version to v0.1.40 (#3433) 2024-05-07 17:29:29 +00:00
Charlie Marsh 028b407411 Bump version to v0.1.39 (#3286) 2024-04-27 07:18:16 -04:00
Zanie Blue 0b23caa18d Bump version to 0.1.38 (#3251) 2024-04-24 13:28:50 -05:00