pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-hg-git py-hg-git: update to 1.0.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9afe59d18487
branches: trunk
changeset: 388955:9afe59d18487
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Nov 28 10:20:36 2022 +0000
description:
py-hg-git: update to 1.0.1.
hg-git 1.0.1 (2022-11-04)
=========================
This is a minor release, focusing on bugs and compatibility.
* Ignore any ``GIT_SSH_COMMAND`` environment variable, rather than
dying with an error. (#369)
* Fix bug with unusual progress lines from Azure Repo (#391)
* Fix incorrect use of localisation APIs (#387)
* Fix pushing with Dulwich 0.2.49 or later.
* Fix tests with Git 2.37.
* Fix bug with tags or remote refs in the local Git repository that
point to missing commits.
* Mark Mercurial 6.2 and 6.3 as supported and tested.
Thanks to Pierre Augier and Aay Jay Chan for contributing to this
release!
hg-git 1.0.0 (2022-04-01)
=========================
This is the first stable release in the 1.0 series. In addition to all
the features and fixes in the betas, it includes:
* Handle errors in ``.gitmodules`` gracefully, allowing the conversion
to continue. (#329)
* Don't die with an error when ``.hgsub`` contains comments. (#128)
* Suppress errors on export related to history editing of certain
commits with unusual authorship and messages. (#383)
* Fix tests with Git 2.35.
Other changes:
* Increase test coverage by using different versions of Alpine Linux
and Dulwich.
This release requires Mercurial 5.2 or later and Python 3.6 or later.
hg-git 1.0b2 (2022-03-10)
=========================
This is a follow-up to the previous beta, that fixes the following
bugs:
* Fix tests with Mercurial 6.1.
* Avoid prompting for authentication after a successful push, by
storing the authenticated client. (#379)
This release requires Mercurial 5.2 or later and Python 3.6 or later.
hg-git 1.0b1 (2022-01-26)
=========================
This is a preview of an upcoming major release that contains changes
to user-facing behaviour, as well as a fair amount of internal
changes. The primary focus is on adjusting the user experience to be
more intuitive and consistent with Git and Mercurial. The internal
changes are mainly refactoring to make the code more consistent and
maintainable. Performance should also be much better; a simple clone
of a medium-sized repository is about 40% faster.
This release requires Mercurial 5.2 or later and Python 3.6 or later.
Changes to behaviour:
* When a pull detects that a Git remote branch vanishes, it will
remove the corresponding local tags, such as ``default/branch``.
This is equivalent to using ``git fetch --prune``, and adjustable
using the ``git.pull-prune-remote-branches`` configuration option.
* Similarly, delete the actual bookmarks corresponding to a remote
branch, unless the bookmarks was moved since the last pull from Git.
This is enabled by default and adjustable using the
``git.pull-prune-bookmarks`` configuration option.
* Speed up ``pull`` by using a single transaction per map save
interval.
* Similarly, speed up ``hg clone`` by always using a single
transaction and map save interval, as Mercurial will delete the
repository on errors.
* Change the default ``hggit.mapsavefrequency`` to 1,000 commits rather
than just saving at the end.
* Abort with a helpful error when a user attempts to push to Git from
a Mercurial repository without any bookmarks nor tags. Previously,
that would either invent a bookmark —— *once* — or just report that
nothing was found.
* Only update e.g. ``default/master`` when actually pulling from
``default``.
Enhancements:
* Add a ``gittag()`` revset.
* Print a message describing which bookmarks changed during a pull.
* Let Mercurial report on the incoming changes once each transaction
is saved, similar to when pulling from a regular repository.
* Remove some unnecessary caching in an attempt to decrease memory
footprint.
* Advance phases during the pull rather than at the end.
* With ``hggit.usephases``, allow publishing tags and specific remotes
on pull, as well as publishing the remote ``HEAD`` on push.
* Change defaults to drop illegal paths rather than aborting the
conversion; this is adjustable using the ``hggit.invalidpaths``
configuration option.
* Allow updating bookmarks from obsolete commits to their successors.
Bug fixes:
* Adjust publishing of branches to correspond to the documentation.
Previously, e.g. listing ``master`` would publish a local bookmark
even if diverged from the remote.
* Handle corrupt repositories gracefully in the ``gverify`` command,
and allow checking repository integrity.
* Only apply extension wrappers when the extension is actually
enabled rather than just loaded.
* Fix pulling with ``phases.new-commit`` set to ``secret``. (#266)
* Detect divergence with a branch bookmark suffix.
* Fix flawed handling of remote messages on pull and push, which
caused most such messages to be discarded.
* Report a helpful error when attempting to push or convert with
commits missing in the Git repository. Also, issue a warning when
creating a new Git repository with a non-empty map, as that may lead
to the former.
* Ensure that ``gimport`` also synchronises tags.
* Address a bug where updating bookmarks might fail with certain
obsolete commits.
* Handle missing Git commits gracefully. (#376)
Other changes:
* Require ``setuptools`` for building, and use ``setuptools_scm`` for
determining the version of the extension.
* Refactoring and reformatting of the code base.
hg-git 0.10.4 (2022-01-26)
==========================
This is a minor release, focusing on bugs and compatibility.
Bug fixes:
* Fix compatibility with the ``mercurial_keyring`` extension. (#360)
* Add missing test files to the source archive. (#375)
* Fix tests with Git 2.34.
hg-git 0.10.3 (2021-11-16)
==========================
This is a minor release, focusing on bugs and compatibility.
Enhancements:
* Add support for Mercurial 6.0.
hg-git 0.10.2 (2021-07-31)
==========================
This is a minor release, focusing on bugs and compatibility.
Enhancements:
* Add support for Mercurial 5.9.
Bug fixes:
* Fix the ``git.authors`` configuration option, broken in Python 3.
hg-git 0.10.1 (2021-05-12)
==========================
This is a minor release, focusing on bugs and compatibility.
Enhancements:
* Add support for Mercurial 5.8.
Bug fixes:
* Fix some documentation issues.
* Don't overwrite annotated tags on push.
* Fix an issue where pushing a repository without any bookmarks would
push secret changesets.
diffstat:
devel/py-hg-git/Makefile | 12 +++++-------
devel/py-hg-git/PLIST | 22 ++++++++++++++++++++--
devel/py-hg-git/distinfo | 8 ++++----
3 files changed, 29 insertions(+), 13 deletions(-)
diffs (103 lines):
diff -r 032818f189fa -r 9afe59d18487 devel/py-hg-git/Makefile
--- a/devel/py-hg-git/Makefile Mon Nov 28 10:16:01 2022 +0000
+++ b/devel/py-hg-git/Makefile Mon Nov 28 10:20:36 2022 +0000
@@ -1,12 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2022/01/14 11:37:24 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/11/28 10:20:36 wiz Exp $
-VERS= 0.10.0
-#PKGREVISION= 1
-DISTNAME= hg-git-${VERS}
+DISTNAME= hg-git-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel scm
-MASTER_SITES= https://foss.heptapod.net/mercurial/hg-git/-/archive/${VERS}/
+MASTER_SITES= https://foss.heptapod.net/mercurial/hg-git/-/archive/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -14,11 +11,12 @@
COMMENT= Push to and pull from a Git server repository using Mercurial
LICENSE= gnu-gpl-v2
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-dulwich>=0.9.7:../../devel/py-dulwich
+DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
USE_LANGUAGES= # none
-# py-dulwich
PYTHON_VERSIONS_INCOMPATIBLE= 27
EGG_NAME= ${DISTNAME:S/-/_/1}
diff -r 032818f189fa -r 9afe59d18487 devel/py-hg-git/PLIST
--- a/devel/py-hg-git/PLIST Mon Nov 28 10:16:01 2022 +0000
+++ b/devel/py-hg-git/PLIST Mon Nov 28 10:20:36 2022 +0000
@@ -1,18 +1,28 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/14 11:37:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/11/28 10:20:36 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/hggit/__init__.py
${PYSITELIB}/hggit/__init__.pyc
${PYSITELIB}/hggit/__init__.pyo
+${PYSITELIB}/hggit/__version__.py
+${PYSITELIB}/hggit/__version__.pyc
+${PYSITELIB}/hggit/__version__.pyo
${PYSITELIB}/hggit/_ssh.py
${PYSITELIB}/hggit/_ssh.pyc
${PYSITELIB}/hggit/_ssh.pyo
+${PYSITELIB}/hggit/commands.py
+${PYSITELIB}/hggit/commands.pyc
+${PYSITELIB}/hggit/commands.pyo
${PYSITELIB}/hggit/compat.py
${PYSITELIB}/hggit/compat.pyc
${PYSITELIB}/hggit/compat.pyo
+${PYSITELIB}/hggit/config.py
+${PYSITELIB}/hggit/config.pyc
+${PYSITELIB}/hggit/config.pyo
${PYSITELIB}/hggit/git2hg.py
${PYSITELIB}/hggit/git2hg.pyc
${PYSITELIB}/hggit/git2hg.pyo
@@ -25,7 +35,6 @@
${PYSITELIB}/hggit/gitrepo.py
${PYSITELIB}/hggit/gitrepo.pyc
${PYSITELIB}/hggit/gitrepo.pyo
-${PYSITELIB}/hggit/help/git.rst
${PYSITELIB}/hggit/hg2git.py
${PYSITELIB}/hggit/hg2git.pyc
${PYSITELIB}/hggit/hg2git.pyo
@@ -35,6 +44,15 @@
${PYSITELIB}/hggit/overlay.py
${PYSITELIB}/hggit/overlay.pyc
${PYSITELIB}/hggit/overlay.pyo
+${PYSITELIB}/hggit/revsets.py
+${PYSITELIB}/hggit/revsets.pyc
+${PYSITELIB}/hggit/revsets.pyo
+${PYSITELIB}/hggit/schemes.py
+${PYSITELIB}/hggit/schemes.pyc
+${PYSITELIB}/hggit/schemes.pyo
+${PYSITELIB}/hggit/templates.py
+${PYSITELIB}/hggit/templates.pyc
+${PYSITELIB}/hggit/templates.pyo
${PYSITELIB}/hggit/util.py
${PYSITELIB}/hggit/util.pyc
${PYSITELIB}/hggit/util.pyo
diff -r 032818f189fa -r 9afe59d18487 devel/py-hg-git/distinfo
--- a/devel/py-hg-git/distinfo Mon Nov 28 10:16:01 2022 +0000
+++ b/devel/py-hg-git/distinfo Mon Nov 28 10:20:36 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2022/01/14 11:49:42 wiz Exp $
+$NetBSD: distinfo,v 1.13 2022/11/28 10:20:36 wiz Exp $
-BLAKE2s (hg-git-0.10.0.tar.bz2) = 8f5cd5986b350f94e58c2c95adf8480fe848e4ed8c19d3e762dbb51aad6602be
-SHA512 (hg-git-0.10.0.tar.bz2) = 6f4277bc2b63da97e63531c751465e72467be0dfe92a7b64bfa423412268f89f02985665428597281a53b44f169f1291447e7b1d3a8047d7b0d67d1b1e0e5e27
-Size (hg-git-0.10.0.tar.bz2) = 143518 bytes
+BLAKE2s (hg-git-1.0.1.tar.bz2) = 8d6a6cb16685858339e6386e919dc972bd54c5c7443267dd7b1aecd0cf22f5e2
+SHA512 (hg-git-1.0.1.tar.bz2) = 64fe0af5453b7b3a0003da979978e1eeec8cd0887337400aea6172b7267fc8a015eae0eb93d24db3e4aaa9c62342a1fc47dd30fbd8472072527dc7ee052d73d3
+Size (hg-git-1.0.1.tar.bz2) = 167257 bytes
Home |
Main Index |
Thread Index |
Old Index