git-project 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. {git_project-0.1.1 → git_project-0.1.2}/PKG-INFO +24 -8
  2. {git_project-0.1.1 → git_project-0.1.2}/_version.py +2 -2
  3. {git_project-0.1.1 → git_project-0.1.2}/docs/changelog.rst +25 -1
  4. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/git.py +437 -58
  5. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/project.py +1 -1
  6. {git_project-0.1.1 → git_project-0.1.2}/tests/test_git.py +653 -5
  7. {git_project-0.1.1 → git_project-0.1.2}/tests/test_project.py +15 -0
  8. {git_project-0.1.1 → git_project-0.1.2}/.gitignore +0 -0
  9. {git_project-0.1.1 → git_project-0.1.2}/CONTRIBUTORS +0 -0
  10. {git_project-0.1.1 → git_project-0.1.2}/COPYING +0 -0
  11. {git_project-0.1.1 → git_project-0.1.2}/MANIFEST.in +0 -0
  12. {git_project-0.1.1 → git_project-0.1.2}/changelog.d/README.rst +0 -0
  13. {git_project-0.1.1 → git_project-0.1.2}/changelog.py +0 -0
  14. {git_project-0.1.1 → git_project-0.1.2}/docs/Makefile +0 -0
  15. {git_project-0.1.1 → git_project-0.1.2}/docs/api.rst +0 -0
  16. {git_project-0.1.1 → git_project-0.1.2}/docs/authors.rst +0 -0
  17. {git_project-0.1.1 → git_project-0.1.2}/docs/conf.py +0 -0
  18. {git_project-0.1.1 → git_project-0.1.2}/docs/contributing.rst +0 -0
  19. {git_project-0.1.1 → git_project-0.1.2}/docs/index.rst +0 -0
  20. {git_project-0.1.1 → git_project-0.1.2}/docs/intro.rst +0 -0
  21. {git_project-0.1.1 → git_project-0.1.2}/docs/license.rst +0 -0
  22. {git_project-0.1.1 → git_project-0.1.2}/docs/make.bat +0 -0
  23. {git_project-0.1.1 → git_project-0.1.2}/docs/plugins.rst +0 -0
  24. {git_project-0.1.1 → git_project-0.1.2}/pyproject.toml +0 -0
  25. {git_project-0.1.1 → git_project-0.1.2}/requirements.txt +0 -0
  26. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/__init__.py +0 -0
  27. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/commandline.py +0 -0
  28. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/configobj.py +0 -0
  29. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/exception.py +0 -0
  30. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/gitproject.py +0 -0
  31. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/main.py +0 -0
  32. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/parsermanager.py +0 -0
  33. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/plugin.py +0 -0
  34. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/pluginmanager.py +0 -0
  35. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/py.typed +0 -0
  36. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/runnable.py +0 -0
  37. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/scopedobj.py +0 -0
  38. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/shell.py +0 -0
  39. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/substitutable.py +0 -0
  40. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/test_support/__init__.py +0 -0
  41. {git_project-0.1.1 → git_project-0.1.2}/src/git_project/test_support/common.py +0 -0
  42. {git_project-0.1.1 → git_project-0.1.2}/tests/conftest.py +0 -0
  43. {git_project-0.1.1 → git_project-0.1.2}/tests/test_changelog.py +0 -0
  44. {git_project-0.1.1 → git_project-0.1.2}/tests/test_confobj.py +0 -0
  45. {git_project-0.1.1 → git_project-0.1.2}/tests/test_gitproject.py +0 -0
  46. {git_project-0.1.1 → git_project-0.1.2}/tests/test_main.py +0 -0
  47. {git_project-0.1.1 → git_project-0.1.2}/tests/test_parsermanager.py +0 -0
  48. {git_project-0.1.1 → git_project-0.1.2}/tests/test_runnable.py +0 -0
  49. {git_project-0.1.1 → git_project-0.1.2}/tests/test_scopedobj.py +0 -0
  50. {git_project-0.1.1 → git_project-0.1.2}/tests/test_shell.py +0 -0
  51. {git_project-0.1.1 → git_project-0.1.2}/tests/test_substitutable.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: git-project
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: The extensible stupid project manager
5
5
  Author-email: "David A. Greene" <dag@obbligato.org>
6
6
  License-Expression: AGPL-3.0-or-later
@@ -228,15 +228,31 @@ Authors
228
228
  .. _David Greene: https://github.com/greened
229
229
 
230
230
 
231
- `0.1.1`_ - 2026-10-19
231
+ `0.1.2`_ - 2026-10-22
232
232
  ---------------------
233
- Added
233
+ Fixed
234
234
  .....
235
- - ``ConfigObject.iter_idents`` lists the idents of the objects recorded under a subsection, so a plugin can offer them as ``candidates``.
236
- - ``--menu=json`` gives each argument ``complete``, ``candidates`` and ``repeatable`` keys, set from new ``complete=`` and ``candidates=`` keywords to ``add_argument`` and from the argparse action.
237
- - ``--menu=json-tree`` prints the whole command tree in one call, with each subcommand's menu nested under its ``menu`` key.
238
-
239
- .. _Unreleased: https://github.com/greened/git-project/compare/v0.1.1...HEAD
235
+ - ``Git.refname_is_merged`` now resolves a target given as a short branch
236
+ name to that branch, and ``Project.branch_is_merged`` and
237
+ ``Project.branch_is_pushed`` look up each project branch as a branch. A tag
238
+ with the same name, such as a tag ``master``, was taken in its place. A
239
+ branch could then be reported merged when only the tag contained it, or
240
+ unmerged or unpushed when the project branch contained it.
241
+ - ``Git.clone`` and ``Git.fetch_remote`` run the git CLI for an ssh url
242
+ without a password, so they use the ssh agent, ``~/.ssh/config`` and
243
+ ``known_hosts`` as plain git does, and a Host alias now resolves. An ssh
244
+ clone has the same branches, upstream config and remote ``HEAD`` as a
245
+ libgit2 clone. A failure is a one-line ``GitProjectError`` that carries
246
+ git's error. ssh sends keepalives, so a link that stops answering fails in
247
+ about a minute. ``GIT_SSH_COMMAND`` turns that off, and so do
248
+ ``GIT_SSH`` and ``core.sshCommand`` when ``ssh.id`` is unset. An ssh clone
249
+ or fetch through git gives up after six hours. A libgit2 clone or fetch
250
+ that reached an ssh server with no key to offer died with ``TypeError:
251
+ credential does not implement interface``, and now fails with a one-line
252
+ error.
253
+
254
+ .. _Unreleased: https://github.com/greened/git-project/compare/v0.1.2...HEAD
255
+ .. _0.1.2: https://github.com/greened/git-project/compare/v0.1.1...v0.1.2
240
256
  .. _0.1.1: https://github.com/greened/git-project/compare/v0.1.0...v0.1.1
241
257
  .. _0.1.0: https://github.com/greened/git-project/compare/v0.0.44...v0.1.0
242
258
  .. _0.0.44: https://github.com/greened/git-project/compare/v0.0.43...v0.0.44
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.1.1'
22
- __version_tuple__ = version_tuple = (0, 1, 1)
21
+ __version__ = version = '0.1.2'
22
+ __version_tuple__ = version_tuple = (0, 1, 2)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -31,6 +31,29 @@ ChangeLog
31
31
  `Unreleased`_
32
32
  -------------
33
33
 
34
+ `0.1.2`_ - 2026-10-22
35
+ ---------------------
36
+ Fixed
37
+ .....
38
+ - ``Git.refname_is_merged`` now resolves a target given as a short branch
39
+ name to that branch, and ``Project.branch_is_merged`` and
40
+ ``Project.branch_is_pushed`` look up each project branch as a branch. A tag
41
+ with the same name, such as a tag ``master``, was taken in its place. A
42
+ branch could then be reported merged when only the tag contained it, or
43
+ unmerged or unpushed when the project branch contained it.
44
+ - ``Git.clone`` and ``Git.fetch_remote`` run the git CLI for an ssh url
45
+ without a password, so they use the ssh agent, ``~/.ssh/config`` and
46
+ ``known_hosts`` as plain git does, and a Host alias now resolves. An ssh
47
+ clone has the same branches, upstream config and remote ``HEAD`` as a
48
+ libgit2 clone. A failure is a one-line ``GitProjectError`` that carries
49
+ git's error. ssh sends keepalives, so a link that stops answering fails in
50
+ about a minute. ``GIT_SSH_COMMAND`` turns that off, and so do
51
+ ``GIT_SSH`` and ``core.sshCommand`` when ``ssh.id`` is unset. An ssh clone
52
+ or fetch through git gives up after six hours. A libgit2 clone or fetch
53
+ that reached an ssh server with no key to offer died with ``TypeError:
54
+ credential does not implement interface``, and now fails with a one-line
55
+ error.
56
+
34
57
  `0.1.1`_ - 2026-10-19
35
58
  ---------------------
36
59
  Added
@@ -268,7 +291,8 @@ Fixed
268
291
  ``git_project``. No declared environment supplied Sphinx either, so a
269
292
  ``docs`` environment with Sphinx is now declared.
270
293
 
271
- .. _Unreleased: https://github.com/greened/git-project/compare/v0.1.1...HEAD
294
+ .. _Unreleased: https://github.com/greened/git-project/compare/v0.1.2...HEAD
295
+ .. _0.1.2: https://github.com/greened/git-project/compare/v0.1.1...v0.1.2
272
296
  .. _0.1.1: https://github.com/greened/git-project/compare/v0.1.0...v0.1.1
273
297
  .. _0.1.0: https://github.com/greened/git-project/compare/v0.0.44...v0.1.0
274
298
  .. _0.0.44: https://github.com/greened/git-project/compare/v0.0.43...v0.0.44