From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 27 20:00:13 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9164106566C for ; Tue, 27 Oct 2009 20:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C57818FC1B for ; Tue, 27 Oct 2009 20:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9RK07WS092650 for ; Tue, 27 Oct 2009 20:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9RK07CW092649; Tue, 27 Oct 2009 20:00:07 GMT (envelope-from gnats) Resent-Date: Tue, 27 Oct 2009 20:00:07 GMT Resent-Message-Id: <200910272000.n9RK07CW092649@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marco Bröder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9151F106568D for ; Tue, 27 Oct 2009 19:53:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7F91B8FC08 for ; Tue, 27 Oct 2009 19:53:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9RJrcQk000280 for ; Tue, 27 Oct 2009 19:53:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9RJrc1c000279; Tue, 27 Oct 2009 19:53:38 GMT (envelope-from nobody) Message-Id: <200910271953.n9RJrc1c000279@www.freebsd.org> Date: Tue, 27 Oct 2009 19:53:38 GMT From: Marco Bröder To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140027: [patch] New port: devel/hg-git. Mercurial extension to pull from or push to a Git repository X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 20:00:14 -0000 >Number: 140027 >Category: ports >Synopsis: [patch] New port: devel/hg-git. Mercurial extension to pull from or push to a Git repository >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 27 20:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Marco Bröder >Release: RELENG_8 amd64 >Organization: >Environment: >Description: Please look at PR: ports/140025 . It is the dependency (new) port, which needs to be committed first. Many thanks! ==== The Hg-Git plugin is an extension for Mercurial, adding the ability to push to and pull from a Git server repository from Mercurial. This means you can collaborate on Git based projects from Mercurial, or use a Git server as a collaboration point for a team with developers using both Git and Mercurial. The Hg-Git plugin can convert commits / changesets losslessly from one system to another, so you can push via a Mercurial repository and another Mercurial client can pull it and their changeset node ids will be identical - Mercurial data does not get lost in translation. This plugin is implemented entirely in Python - there are no Git binary dependencies, you do not need to have Git installed on your system. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hg-git # hg-git/Makefile # hg-git/pkg-descr # hg-git/distinfo # hg-git/pkg-message # echo c - hg-git mkdir -p hg-git > /dev/null 2>&1 echo x - hg-git/Makefile sed 's/^X//' >hg-git/Makefile << '392e0096d106c388ef8005c43efc2b28' X# Ports collection makefile for: hg-git X# Date created: 2009-10-24 X# Whom: Marco Broeder X# X# $FreeBSD$ X# X XPORTNAME= hg-git XPORTVERSION= 0.1.0 XCATEGORIES= devel python XMASTER_SITES= CHEESESHOP XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= marco.broeder@gmx.eu XCOMMENT= Mercurial extension to pull from or push to a Git repository X XRUN_DEPENDS= ${PKGNAMEPREFIX}dulwich>=0.4.0:${PORTSDIR}/devel/dulwich \ X hg:${PORTSDIR}/devel/mercurial X XUSE_PYTHON= yes XUSE_PYDISTUTILS=easy_install X XPLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//} XPLIST_FILES= %%PYTHON_SITELIBDIR%%/hg_git-%%VERSION%%-py%%PYVER%%.egg X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include 392e0096d106c388ef8005c43efc2b28 echo x - hg-git/pkg-descr sed 's/^X//' >hg-git/pkg-descr << 'db02597dbe7d12872ada368cf2084ec8' XThe Hg-Git plugin is an extension for Mercurial, adding the ability to push to Xand pull from a Git server repository from Mercurial. This means you can Xcollaborate on Git based projects from Mercurial, or use a Git server as a Xcollaboration point for a team with developers using both Git and Mercurial. X XThe Hg-Git plugin can convert commits / changesets losslessly from one system to Xanother, so you can push via a Mercurial repository and another Mercurial client Xcan pull it and their changeset node ids will be identical - Mercurial data does Xnot get lost in translation. X XThis plugin is implemented entirely in Python - there are no Git binary Xdependencies, you do not need to have Git installed on your system. X XWWW: http://hg-git.github.com/ db02597dbe7d12872ada368cf2084ec8 echo x - hg-git/distinfo sed 's/^X//' >hg-git/distinfo << 'c85c92fce46f19fcff6ca0898a0627be' XMD5 (hg-git-0.1.0.tar.gz) = 2c083d92dbf89f228ae28a0fc7805d9e XSHA256 (hg-git-0.1.0.tar.gz) = 8745c331f010dbdda6b1343a852ef3fb242d5d29196c7dd1197e27e6051212d8 XSIZE (hg-git-0.1.0.tar.gz) = 11351 c85c92fce46f19fcff6ca0898a0627be echo x - hg-git/pkg-message sed 's/^X//' >hg-git/pkg-message << '50b658a1f3737c0cea1d3f8413a403af' X==== X X*** Attention! *** X XTo enable the Hg-Git extension make sure you have the following lines in your XMercurial global configuration file '~/.hgrc': X X[extensions] Xbookmarks = Xhggit = X XThe bookmarks section is not compulsory, but it makes some things a bit nicer. XBookmarks will be translated to git heads when pushing. X X==== 50b658a1f3737c0cea1d3f8413a403af exit >Release-Note: >Audit-Trail: >Unformatted: