Package Details: hg-fast-export-git r408.d202200-2

Git Clone URL: https://aur.archlinux.org/hg-fast-export-git.git (read-only, click to copy)
Package Base: hg-fast-export-git
Description: A mercurial to git converter using git-fast-import.
Upstream URL: http://repo.or.cz/w/fast-export.git
Licenses: MIT
Conflicts: hg-fast-export
Provides: hg-fast-export
Submitter: Manouchehri
Maintainer: None
Last Packager: Manouchehri
Votes: 3
Popularity: 0.000030
First Submitted: 2017-10-21 00:57
Last Updated: 2017-10-21 00:57

Latest Comments

tuxsavvy commented on 2021-09-05 14:12

Hi, thanks for maintaining this package. It appears that this now requires python-pluginloader, please refer to the inline attachments below for a fix and the logs with and without this missing AUR project;

PKGBUILD.patch

--- PKGBUILD.orig
+++ PKGBUILD
@@ -5,13 +5,13 @@

 pkgname=hg-fast-export-git
 _pkgname='fast-export'
-pkgver=r408.d202200
+pkgver=r542.5b7ca5a
 pkgrel=2
 pkgdesc="A mercurial to git converter using git-fast-import."
 arch=('any')
 url="http://repo.or.cz/w/fast-export.git"
 license=('MIT')
-depends=('python2' 'mercurial')
+depends=('python2' 'mercurial' 'python-pluginloader')
 provides=('hg-fast-export')
 conflicts=('hg-fast-export')
 source=('git+http://repo.or.cz/r/fast-export.git')

Log when python-pluginloader is missing:

$ hg-fast-export -r ../aur_mozc_ut_unified -A ../authors 
Traceback (most recent call last):
  File "/usr/share/hg-fast-export/hg-fast-export.py", line 15, in <module>
    import pluginloader
ModuleNotFoundError: No module named 'pluginloader'
fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:       5000
Total objects:            0 (         0 duplicates                  )
      blobs  :            0 (         0 duplicates          0 deltas of          0 attempts)
      trees  :            0 (         0 duplicates          0 deltas of          0 attempts)
      commits:            0 (         0 duplicates          0 deltas of          0 attempts)
      tags   :            0 (         0 duplicates          0 deltas of          0 attempts)
Total branches:           0 (         0 loads     )
      marks:           1024 (         0 unique    )
      atoms:              0
Memory total:          2399 KiB
       pools:          2048 KiB
     objects:           351 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit      = 35184372088832
pack_report: pack_used_ctr            =          0
pack_report: pack_mmap_calls          =          0
pack_report: pack_open_windows        =          0 /          0
pack_report: pack_mapped              =          0 /          0
---------------------------------------------------------------------

Log with the python-pluginloader installed:

$ hg-fast-export -r ../aur_mozc_ut_unified -A ../authors
Loaded 1 authors
/usr/share/hg-fast-export/hg-fast-export.py:269: FutureWarning: Possible nested set at position 2
  p=re.compile(b'([[ ~^:?\\\\*]|\.\.)')
master: Exporting full revision 1/16 with 27/0/0 added/changed/removed files
master: Exporting simple delta revision 2/16 with 0/1/0 added/changed/removed files
master: Exporting simple delta revision 3/16 with 2/6/2 added/changed/removed files
master: Exporting simple delta revision 4/16 with 0/2/0 added/changed/removed files
master: Exporting simple delta revision 5/16 with 1/4/1 added/changed/removed files
master: Exporting simple delta revision 6/16 with 1/3/2 added/changed/removed files
master: Exporting simple delta revision 7/16 with 1/5/1 added/changed/removed files
master: Exporting simple delta revision 8/16 with 2/15/3 added/changed/removed files
master: Exporting simple delta revision 9/16 with 1/5/1 added/changed/removed files
master: Exporting simple delta revision 10/16 with 1/4/1 added/changed/removed files
master: Exporting simple delta revision 11/16 with 25/3/1 added/changed/removed files
master: Exporting simple delta revision 12/16 with 2/5/26 added/changed/removed files
master: Exporting simple delta revision 13/16 with 1/3/1 added/changed/removed files
master: Exporting simple delta revision 14/16 with 1/6/1 added/changed/removed files
master: Exporting simple delta revision 15/16 with 1/3/1 added/changed/removed files
master: Exporting simple delta revision 16/16 with 2/3/2 added/changed/removed files
Issued 16 commands
fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:       5000
Total objects:          232 (         8 duplicates                  )
      blobs  :          136 (         0 duplicates         59 deltas of        135 attempts)
      trees  :           80 (         8 duplicates         65 deltas of         67 attempts)
      commits:           16 (         0 duplicates          0 deltas of          0 attempts)
      tags   :            0 (         0 duplicates          0 deltas of          0 attempts)
Total branches:           1 (         1 loads     )
      marks:           1024 (        16 unique    )
      atoms:             80
Memory total:          2493 KiB
       pools:          2141 KiB
     objects:           351 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit      = 35184372088832
pack_report: pack_used_ctr            =          2
pack_report: pack_mmap_calls          =          1
pack_report: pack_open_windows        =          1 /          1
pack_report: pack_mapped              =  285796966 /  285796966
---------------------------------------------------------------------

danielepaolella commented on 2019-10-26 16:18

@anntzer, @eyl and @fsiegert: I uploaded a new package based on tagged releases, find it at https://aur.archlinux.org/packages/hg-fast-export/.

It also installs the pluginloader code and plugins, I didn't make it depend on python2-pluginloader as that one comes with a different api which doesn't look compatible.

Nonetheless it installs everything to /usr/share/hg-fast-export - same as this package - so it doesn't conflict with python2-pluginloader.

Edit: additionally, it symlinks all of the provided executables to /usr/bin.

fsiegert commented on 2019-10-11 07:20

Just to second the comment from @eyl from Feb 2019: The pluginloader dependency is still missing, can you please add it to the PKGBUILD?

eyl commented on 2019-02-19 17:42

You missed the pluginloader python dependency. You should either include 'python2-pluginloader' in depends or move the included pluginloader to the correct location. Thanks!

anntzer commented on 2018-08-16 09:39

Upstream appears to be regularly tagging versions (http://repo.or.cz/w/fast-export.git, latest was 2018/06/10); would you consider making another package that tracks the tags rather than git HEAD? Thanks.