diff --git a/CHANGELOG.md b/CHANGELOG.md index cedbdf1e..42c5aa75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,85 +1,91 @@ -# 3.9 (2026-10-12) +# Release Notes + +## 3.9.1 (2026-11-11) + +- Fixed handling of missing `rev` in config files. + +## 3.9 (2026-10-12) - Added support for Python 3.15. - Dropped support for Python 3.10. -# 3.8.1 (2026-03-20) +## 3.8.1 (2026-03-20) - Fixed reapplication of sparse paths after install. (@fhamdi-bdai) -# 3.8 (2026-02-01) +## 3.8 (2026-02-01) - Dropped support for Python 3.9 and added support for Python 3.14. -# 3.7 (2025-10-18) +## 3.7 (2025-10-18) - Added support for applying post-checkout Git patches. (@C0DE-X) -# 3.6 (2025-09-07) +## 3.6 (2025-09-07) - Dropped support for Python 3.8 and added support for Python 3.12 and 3.13. -# 3.5.3 (2025-04-24) +## 3.5.3 (2025-04-24) - Fixed handling of git cache when using sparse checkouts. (@mastupristi) -# 3.5.2 (2024-06-22) +## 3.5.2 (2024-06-22) - Fixed logic to included all nested configs. -# 3.5.1 (2024-05-19) +## 3.5.1 (2024-05-19) - Updated nested config lookup to ignore build and package directories. -# 3.5 (2024-04-27) +## 3.5 (2024-04-27) - Added `--no-scripts` option to skip install/update scripts. - Fixed logic in filtering nested configs. -# 3.4 (2023-03-24) +## 3.4 (2023-03-24) - Updated messaging to clarify when nested dependencies are updated. - Added a warning when no dependencies match the specified names. - Added `all` as a keyword to bypass the default dependency group. -# 3.3.3 (2023-01-25) +## 3.3.3 (2023-01-25) - Fixed handling of `depth` to find nested configs. (@DavidWatkins) -# 3.3.1 (2022-11-09) +## 3.3.1 (2022-11-09) - Replaced deprecated `pkg_resources` with `importlib` for package metadata. -# 3.3 (2022-08-20) +## 3.3 (2022-08-20) - **BREAKING**: Dropped support for Python 3.7. - Replaced custom file openers with [universal-startfile](https://github.com/jacebrowning/universal-startfile). -# 3.2 (2022-04-08) +## 3.2 (2022-04-08) - Added support for locking dependencies to specific versions. (@Erich-McMillan) - Updated dependency locator to include all nested projects. - Added a summary message to display the dependency count. - Added support for custom `clone` params. (@mrpossoms) -# 3.1 (2022-02-23) +## 3.1 (2022-02-23) - Updated `--force-interactive` prompt to default to keeping changes. - Fixed handling of unicode in commit messages on Windows. (@sch0125) -# 3.0.1 (2021-10-04) +## 3.0.1 (2021-10-04) - Updated dependencies. -# 3.0 (2021-06-02) +## 3.0 (2021-06-02) - Removed `link` feature in favor of `links`. -# 2.3.2 (2021-04-08) +## 2.3.2 (2021-04-08) - Fixed handling of multiple sparse paths. (@SamMousa) -# 2.3 (2021-02-26) +## 2.3 (2021-02-26) - Updated default arguments to `Source` model for improved library usage. - Added support for multiple symbolic `links` per repo. (@gunechristensen) @@ -87,7 +93,7 @@ - Added support for virtual drives on Windows. (@gunechristensen) - Updated scripts installation to be depth-first. (@mrpossoms) -# 2.2 (2020-12-24) +## 2.2 (2020-12-24) - Fixed working tree validation to ignore case. (@sch0125) - Fixed handling of empty directories as checkout locations. (@Erich-McMillan) @@ -96,21 +102,21 @@ - Fixed `install` command to handle both groups and sources. (@brandonaut) - Fixed deletion of the project directory when `location: .` is used. -# 2.1 (2020-09-10) +## 2.1 (2020-09-10) - Added realtime display of shell calls. (@spurnvoj) -# 2.0 (2020-04-13) +## 2.0 (2020-04-13) - **BREAKING**: Removed legacy `gdm` CLI entry point. - **BREAKING**: Dropped support for Python 3.6. - Switched to `datafiles` for YAML serialization. -# 1.8 (2020-04-04) +## 1.8 (2020-04-04) - Added support Python 3.8. -# 1.7 (2019-08-07) +## 1.7 (2019-08-07) - **BREAKING**: Renamed `-f` alias to `-F` (`-f` now implies `--force-interactive`). - Added `--force-interactive` option to interactively overwrite changed dependencies on install or update command. (@daniel-brosche) @@ -119,14 +125,14 @@ - Added rebuilding missing repo on `install --force`. (@mttjohnson) - Added support for symlinks on Windows. (@sergey-shuyskiy) -# 1.6 (2019-01-26) +## 1.6 (2019-01-26) - **BREAKING**: Dropped support for Python 3.5. - Added `git svn` support. (@daniel-brosche) - Added `$GITMAN_CACHE_DISABLE` to disable repository mirrors. (@daniel-brosche) - Added `--skip-changes` option to skip changed dependencies on install or update command. (@daniel-brosche) -# 1.5 (2018-09-08) +## 1.5 (2018-09-08) - **BREAKING**: Removed confusing `--lock` option on `update` command in favor of just using the `lock` command. - **BREAKING**: Renamed `--no-lock` to `--skip-lock` on `update` command. @@ -134,74 +140,74 @@ - Added `--keep-location` option on `uninstall`. (@DavidWatkins) - Added feature to enable sparse checkouts. See the docs for further information. (@xenji) -# 1.4 (2017-03-21) +## 1.4 (2017-03-21) - Allow config files to exist in subdirectories of the main project. - Added `$GITMAN_CACHE` to customize the repository cache location. -# 1.3 (2017-02-03) +## 1.3 (2017-02-03) - Added `init` command to generate sample config files. - Added support for post-install scripts on dependencies. - Updated config format to support `null` for links. -# 1.2 (2017-01-08) +## 1.2 (2017-01-08) - Added preliminary Windows support. (@StudioEtrange) -# 1.1 (2017-01-06) +## 1.1 (2017-01-06) - Added coloring to the command-line output. - Fixed issue where `` could be saved as a locked revision. -# 1.0.2 (2016-07-28) +## 1.0.2 (2016-07-28) - Moved documentation to http://gitman.readthedocs.io/. -# 1.0.1 (2016-05-31) +## 1.0.1 (2016-05-31) - Replaced calls to `git remote add origin` with `git remote set-url origin`. -# 1.0 (2016-05-22) +## 1.0 (2016-05-22) - Initial stable release. -# 0.11 (2016-05-10) +## 0.11 (2016-05-10) - Removed dependency on `sh` to support Cygwin/MinGW/etc. on Windows. - Dropped Python 3.4 support for `subprocess` and `*args` improvements. - **BREAKING**: Renamed config file key `dir` to `name`. -# 0.10 (2016-04-14) +## 0.10 (2016-04-14) - Added `show` command to display dependency and internal paths. -# 0.9 (2016-03-31) +## 0.9 (2016-03-31) - Added `edit` command to launch the config file. - Depth now defaults to 5 to prevent infinite recursion. - Fixed handling of source lists containing different dependencies. -# 0.8.3 (2016-03-14) +## 0.8.3 (2016-03-14) - Renamed to Gitman. -# 0.8.2 (2016-02-24) +## 0.8.2 (2016-02-24) - Updated to YORM v0.6. -# 0.8.1 (2016-01-21) +## 0.8.1 (2016-01-21) - Added an error message when attempting to lock invalid repositories. -# 0.8 (2016-01-13) +## 0.8 (2016-01-13) - Switched to using repository mirrors to speed up cloning. - Disabled automatic fetching on install. - Added `--fetch` option on `install` to always fetch. - Now displaying `git status` output when there are changes. -# 0.7 (2015-12-22) +## 0.7 (2015-12-22) - Fixed `git remote rm` command. (@hdnivara) - Now applying the `update` dependency filter to locking as well. @@ -209,12 +215,12 @@ - Added `lock` command to manually save all dependency versions. - Now requiring `--lock` option on `update` to explicitly lock dependencies. -# 0.6 (2015-11-13) +## 0.6 (2015-11-13) - Added the ability to filter the dependency list on `install` and `update`. - Added `--depth` option to limit dependency traversal on `install`, `update`, and `list`. -# 0.5 (2015-10-20) +## 0.5 (2015-10-20) - Added Git plugin support via: `git deps`. - Removed `--no-clean` option (now the default) on `install` and `update`. @@ -224,15 +230,15 @@ - Disabled warnings when running `install` without locked sources. - Added `--no-lock` option to disable version recording. -# 0.4.2 (2015-10-18) +## 0.4.2 (2015-10-18) - Fixed crash when running with some sources missing. -# 0.4.1 (2015-09-24) +## 0.4.1 (2015-09-24) - Switched to cloning for initial working tree creation. -# 0.4 (2015-09-18) +## 0.4 (2015-09-18) - Replaced `install` command with `update`. - Updated `install` command to use locked dependency versions. @@ -240,55 +246,55 @@ - Now requiring `--force` to `uninstall` with uncommitted changes. - Updated `list` command to show full shell commands. -# 0.3.1 (2015-09-09) +## 0.3.1 (2015-09-09) - Ensures files are not needlessly reloaded with newer versions of YORM. -# 0.3 (2015-06-26) +## 0.3 (2015-06-26) - Added `--no-clean` option to disable removing untracked files. - Added support for `rev-parse` dates as the dependency `rev`. -# 0.2.5 (2015-06-15) +## 0.2.5 (2015-06-15) - Added `--quiet` option to hide warnings. -# 0.2.4 (2015-05-19) +## 0.2.4 (2015-05-19) - Now hiding YORM logging bellow warnings. -# 0.2.3 (2015-05-17) +## 0.2.3 (2015-05-17) - Upgraded to YORM v0.4. -# 0.2.2 (2015-05-04) +## 0.2.2 (2015-05-04) - Specified YORM < v0.4. -# 0.2.1 (2015-03-12) +## 0.2.1 (2015-03-12) - Added automatic remote branch tracking in dependencies. - Now requiring `--force` when there are untracked files. -# 0.2 (2015-03-10) +## 0.2 (2015-03-10) - Added `list` command to display current URLs/SHAs. -# 0.1.4 (2014-02-27) +## 0.1.4 (2014-02-27) - Fixed an outdated index when checking for changes. -# 0.1.3 (2014-02-27) +## 0.1.3 (2014-02-27) - Fixed extra whitespace when logging shell output. -# 0.1.2 (2014-02-27) +## 0.1.2 (2014-02-27) - Added `--force` argument to: - overwrite uncommitted changes - create symbolic links in place of directories - Added live shell command output with `-vv` argument. -# 0.1 (2014-02-24) +## 0.1 (2014-02-24) - Initial release. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 204ce387..6d9eb50a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,8 @@ -# Setup +# Contributor Guide -## Requirements +## Setup + +### Requirements * Make: * Windows: http://mingw.org/download/installer @@ -16,7 +18,7 @@ To confirm these system dependencies are configured correctly: $ make doctor ``` -## Installation +### Installation Install project dependencies into a virtual environment: @@ -24,9 +26,9 @@ Install project dependencies into a virtual environment: $ make install ``` -# Development Tasks +## Development Tasks -## Manual +### Manual Run the tests: @@ -46,7 +48,7 @@ Build the documentation: $ make docs ``` -## Automatic +### Automatic Keep all of the above tasks running on change: @@ -56,7 +58,7 @@ $ make dev > In order to have OS X notifications, `brew install terminal-notifier`. -# Continuous Integration +### Continuous Integration The CI server will report overall build status: @@ -64,7 +66,7 @@ The CI server will report overall build status: $ make all ``` -# Release Tasks +## Release Tasks Release to PyPI: diff --git a/docs/extras/bundled-application.md b/docs/extras/bundled-application.md index 34e3629e..382a4e7c 100644 --- a/docs/extras/bundled-application.md +++ b/docs/extras/bundled-application.md @@ -17,7 +17,7 @@ reproducibility and easy distribution. The [PyInstaller](https://www.pyinstaller.org/) will encapsulate the required parts of the local installed python version and the needed modules in the self contained Gitman binary. -In this matter, ensure that the required python version and development tools are locally available (see [Gitman requirements](../index.md#Setup) and [development setup](../about/contributing.md#Setup)). +In this matter, ensure that the required python version and development tools are locally available (see [Gitman requirements](../index.md#setup) and [development setup](../about/contributing.md#setup)). The compatible PyInstaller package will be automatically resolved by poetry. It is not necessary to explicitly install the PyInstaller via pip. diff --git a/docs/requirements.txt b/docs/requirements.txt index eea02ed1..85064f54 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,6 @@ altgraph==0.17.2 ; python_version >= "3.11" and python_version < "3.16" -ast-serialize==0.6.0 ; python_version >= "3.11" and python_version < "4.0" -astroid==4.0.3 ; python_version >= "3.11" and python_version < "4.0" +ast-serialize==0.13.0 ; python_version >= "3.11" and python_version < "4.0" +astroid==4.3.4 ; python_version >= "3.11" and python_version < "4.0" black==26.10.1 ; python_version >= "3.11" and python_version < "4.0" cached-property==1.5.2 ; python_version >= "3.11" and python_version < "4.0" certifi==2026.10.19 ; python_version >= "3.11" and python_version < "4.0" @@ -18,44 +18,44 @@ future==0.18.3 ; python_version >= "3.11" and python_version < "3.16" and sys_pl ghp-import==2.1.0 ; python_version >= "3.11" and python_version < "4.0" griffelib==2.0.0 ; python_version >= "3.11" and python_version < "4.0" idna==3.15 ; python_version >= "3.11" and python_version < "4.0" -iniconfig==1.1.1 ; python_version >= "3.11" and python_version < "4.0" +iniconfig==2.3.1 ; python_version >= "3.11" and python_version < "4.0" isort==9.0.2 ; python_version >= "3.11" and python_version < "4.0" jinja2==3.1.6 ; python_version >= "3.11" and python_version < "4.0" json5==0.17.3 ; python_version >= "3.11" and python_version < "4.0" -librt==0.13.0 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy" +librt==0.16.0 ; python_version >= "3.11" and python_version < "4.0" and platform_python_implementation != "PyPy" macfsevents==0.8.4 ; python_version >= "3.11" and python_version < "3.13" and sys_platform == "darwin" macholib==1.16 ; python_version >= "3.11" and python_version < "3.16" and sys_platform == "darwin" markdown==3.9 ; python_version >= "3.11" and python_version < "4.0" markupsafe==2.1.1 ; python_version >= "3.11" and python_version < "4.0" mccabe==0.6.1 ; python_version >= "3.11" and python_version < "4.0" mergedeep==1.3.4 ; python_version >= "3.11" and python_version < "4.0" -minilog==2.3.1 ; python_version >= "3.11" and python_version < "4.0" +minilog==2.4 ; python_version >= "3.11" and python_version < "4.0" mkdocs-autorefs==1.4.3 ; python_version >= "3.11" and python_version < "4.0" mkdocs-get-deps==0.2.0 ; python_version >= "3.11" and python_version < "4.0" mkdocs==1.6.1 ; python_version >= "3.11" and python_version < "4.0" -mkdocstrings-python==2.0.9 ; python_version >= "3.11" and python_version < "4.0" -mkdocstrings==1.0.6 ; python_version >= "3.11" and python_version < "4.0" +mkdocstrings-python==2.0.10 ; python_version >= "3.11" and python_version < "4.0" +mkdocstrings==1.0.8 ; python_version >= "3.11" and python_version < "4.0" mypy-extensions==1.1.0 ; python_version >= "3.11" and python_version < "4.0" -mypy==2.3.1 ; python_version >= "3.11" and python_version < "4.0" +mypy==2.4.1 ; python_version >= "3.11" and python_version < "4.0" nose==1.3.7 ; python_version >= "3.11" and python_version < "4.0" packaging==24.1 ; python_version >= "3.11" and python_version < "4.0" parse==1.19.0 ; python_version >= "3.11" and python_version < "4.0" pathspec==1.0.4 ; python_version >= "3.11" and python_version < "4.0" pefile==2022.5.30 ; python_version >= "3.11" and python_version < "3.16" and sys_platform == "win32" platformdirs==2.5.2 ; python_version >= "3.11" and python_version < "4.0" -pluggy==1.5.0 ; python_version >= "3.11" and python_version < "4.0" +pluggy==1.7.0 ; python_version >= "3.11" and python_version < "4.0" pydocstyle==6.3.0 ; python_version >= "3.11" and python_version < "4.0" pygments==2.21.0 ; python_version >= "3.11" and python_version < "4.0" pyinstaller-hooks-contrib==2026.7 ; python_version >= "3.11" and python_version < "3.16" pyinstaller==6.22.3 ; python_version >= "3.11" and python_version < "3.16" -pylint==4.0.9 ; python_version >= "3.11" and python_version < "4.0" +pylint==4.1.3 ; python_version >= "3.11" and python_version < "4.0" pymdown-extensions==11.0.1 ; python_version >= "3.11" and python_version < "4.0" pync==2.0.3 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "darwin" pytest-cov==7.1.0 ; python_version >= "3.11" and python_version < "4.0" pytest-describe==3.2.0 ; python_version >= "3.11" and python_version < "4.0" pytest-expecter==3.1 ; python_version >= "3.11" and python_version < "4.0" pytest-random==0.2 ; python_version >= "3.11" and python_version < "4.0" -pytest==9.1.1 ; python_version >= "3.11" and python_version < "4.0" +pytest==9.2.0 ; python_version >= "3.11" and python_version < "4.0" python-dateutil==2.8.2 ; python_version >= "3.11" and python_version < "4.0" python-termstyle==0.1.10 ; python_version >= "3.11" and python_version < "4.0" pytokens==0.4.1 ; python_version >= "3.11" and python_version < "4.0" @@ -65,7 +65,7 @@ pyyaml-env-tag==0.1 ; python_version >= "3.11" and python_version < "4.0" pyyaml==6.0.1 ; python_version >= "3.11" and python_version < "4.0" regex==2026.9.29 ; python_version >= "3.11" and python_version < "4.0" requests==2.33.0 ; python_version >= "3.11" and python_version < "4.0" -rope==1.14.0 ; python_version >= "3.11" and python_version < "4.0" +rope==1.15.2 ; python_version >= "3.11" and python_version < "4.0" ruamel-yaml-clib==0.2.14 ; python_version >= "3.11" and python_version < "3.14" and platform_python_implementation == "CPython" ruamel-yaml==0.18.15 ; python_version >= "3.11" and python_version < "4.0" setuptools==84.1.0 ; python_version >= "3.11" and python_version < "4.0" @@ -74,7 +74,7 @@ sniffer==0.4.1 ; python_version >= "3.11" and python_version < "4.0" snowballstemmer==2.2.0 ; python_version >= "3.11" and python_version < "4.0" tomlkit==0.10.2 ; python_version >= "3.11" and python_version < "4.0" types-freezegun==1.1.10 ; python_version >= "3.11" and python_version < "4.0" -types-setuptools==84.0.0.20260812 ; python_version >= "3.11" and python_version < "4.0" +types-setuptools==84.2.0.20261104 ; python_version >= "3.11" and python_version < "4.0" typing-extensions==4.15.0 ; python_version >= "3.11" and python_version < "4.0" universal-startfile==0.4 ; python_version >= "3.11" and python_version < "4.0" urllib3==2.8.0 ; python_version >= "3.11" and python_version < "4.0" diff --git a/pyproject.toml b/pyproject.toml index 7fea747a..30cc9313 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "gitman" -version = "3.9" +version = "3.9.1" description = "A language-agnostic dependency manager using Git." license = "MIT"