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

Add manage-cookie utility for keeping templated projects up to date #75

Merged
merged 19 commits into from
Feb 21, 2023

Conversation

smkent
Copy link
Owner

@smkent smkent commented Feb 21, 2023

No description provided.

@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

Merging #75 (093053a) into main (2662650) will decrease coverage by 9.04%.
The diff coverage is 86.07%.

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
- Coverage   97.05%   88.02%   -9.04%     
==========================================
  Files           1        4       +3     
  Lines          34      192     +158     
==========================================
+ Hits           33      169     +136     
- Misses          1       23      +22     
Impacted Files Coverage Δ
cookie_python/new.py 97.05% <ø> (ø)
cookie_python/manage/update.py 83.82% <83.82%> (ø)
cookie_python/manage/repo.py 84.28% <84.28%> (ø)
cookie_python/manage/main.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@smkent smkent merged commit ee4514f into main Feb 21, 2023
@smkent smkent deleted the manage-cookie branch February 21, 2023 06:34
smkent added a commit that referenced this pull request Feb 22, 2023
Applied updates from upstream project template commits:

757202d...c4899ec

*   c4899ec Merge pull request #90 from smkent/cruft-json-reset
|\
| * f61ed02 Replace repo_reset with .cruft.json checkout
|/
*   f5e42d6 Merge pull request #88 from smkent/autoflake-pyupgrade
|\
| *   0d9d2ea Merge branch 'main' into autoflake-pyupgrade
| |\
| |/
|/|
* |   a4fec71 Merge pull request #89 from smkent/fix-pyproject-version
|\ \
| * | 62b1b68 Configure pyproject.toml build-backend for poetry-dynamic-versioning
| * | 85d5f74 Enable poetry-dynamic-versioning in pyproject.toml
| * | 549fc6e Update python-poetry action from template
| * | 1001f3e Add __version__.py
| * | 42f765f Remove fixed version string from pyproject.toml
|/ /
| * d5f398c Add autoflake to pre-commit config
| * dda7315 Add pyupgrade to pre-commit config
|/
*   429b0c8 Merge pull request #87 from smkent/manage-cookie-branch-name
|\
| * 21aceda Tweak manage-cookie branch name
|/
*   a3f5e77 Merge pull request #86 from smkent/update-cookie
|\
| * a7ec03b Update dependencies
|/
*   432da6a Merge pull request #85 from smkent/reference-self-current-dir
|\
| * 3368613 Reference own template via current directory instead of URL
|/
*   8ea43c8 Merge pull request #84 from smkent/skip-empty-updates
|\
| * 0199bed Rework repository reset as a decorator
| * ee6e1de Reset repository working directory if skipping cruft update
| * 41940ba Capture output in git status command
| * 508f99d Skip cruft updates without template modifications
|/
*   1b2d5ae Merge pull request #83 from smkent/ci-cd-pypi
|\
| * 3366570 Enable publishing to PyPI
| * 77d2309 Apply CI/CD workflow updates from template
|/
*   2c96f9e Merge pull request #82 from smkent/readme-badges
|\
| *   5820d18 Merge remote-tracking branch 'origin/main' into readme-badges
| |\
| |/
|/|
* |   c49a336 Merge pull request #81 from smkent/manage-main-loop
|\ \
| * | 653af5b Move repository iteration loop to manage-cookie main function
|/ /
| * 0de67eb Add PyPI badges to README.md
| * 01a9943 Add codecov badge to README.md
|/
*   de9e951 Merge pull request #80 from smkent/github-api
|\
| * 3343a19 Remove now-unused subprocess.run mock
| * d4fe333 Use PyGithub to create and locate releases
| * 77109a6 Mock PyGithub in unit tests, rename API token env var
| * b523f8e Use PyGithub for pull request creation, deletion
| * 7ef5da8 Use PyGithub to resolve repository from CLI params
| * 101cf80 Add pygithub
|/
*   faaf379 Merge pull request #78 from smkent/replace-pr
|\
| * 39a7465 Log opened PR URL
| * e89cc06 Close existing PR on update
| * 0305500 Don't check for existing branch on remote at clone time
* |   c21e45e Merge pull request #79 from smkent/release-log-fixup
|\ \
| |/
|/|
| * 163d273 Fix release log message wording
|/
*   4fe836a Merge pull request #77 from smkent/status-output
|\
| * 4f087ad Tweak log messages
| * 3945331 Fix update loop continuation
| * 685a6ae Print status output in manage-cookie commands using loguru
| * e9c0b0f Add loguru
|/
*   daed151 Merge pull request #76 from smkent/manage-release
|\
| * bb1f6f5 Fixup manage-release update description text
| * d68915b Add tests for manage-cookie release
| * c0f8984 Move manage_cookie_main invocation to a helper function
| * 02de8c7 Split poetry.lock creation in new_cookie fixture to new fixture
| * 8a56ffe Implement manage-cookie release action
| * d75175b Create release action stub
| * c99f99d Improve action argument usage text
| * 34d3cf0 Add semver
|/
*   ee4514f Merge pull request #75 from smkent/manage-cookie
|\
| * 093053a Move cruft_attr to be a method on RepoSandbox
| * c821e2b Skip interactive shell invocation if not connected to a tty
| * 56add15 Move interactive shell invocation to a RepoSandbox method
| * d419981 Test manage-cookie update with and without updates to apply
| * 54491c0 Remove unused bits of code
| * 66fce53 Patch os.environ using patch.dict instead of patch.object
| * 0660473 Configure git author environment values via a fixture
| * ea8c79f Use existing local or freshly cloned template repo for commit graph
| * bca9b27 Provide values for git author name and email in manage-cookie tests
| * c910694 Fetch full repository history in CI/CD action
| * 2e7e1aa Add unit test for manage-cookie update flow
| * dd140a6 Implement repository update action
| * 40355c9 Refactor RepoSandbox
| * 2a40703 Remove ManageCookie class, move update action entry point to new file
| * 6db05ed Simplify manage-cookie main file
| * 31b15d8 Move RepoSandbox to a new file
| * a05cf4d Move manage-cookie code to a new subdirectory
| * 47ad7e6 Add manage cookie command and repo sandbox class
| * aea89aa Rename main.py to new.py
|/
* 2662650 Merge pull request #74 from smkent/self-management
* 24d2599 Enable coverage report upload
* 4833749 Configure coverage
* 751c221 Add .cruft.json with current settings
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.

1 participant