Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286695 - [science overlay] dev-vcs/mercurial-server-1.1 new ebuild
Summary: [science overlay] dev-vcs/mercurial-server-1.1 new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL: http://www.lshift.net/mercurial-serve...
Whiteboard: [science overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2009-09-27 20:29 UTC by Christoph Junghans (RETIRED)
Modified: 2011-01-13 20:27 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes sudo commands (mercurial-server-1.0.1.ebuild.patch,853 bytes, patch)
2010-03-11 12:10 UTC, Domen Kožar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Junghans (RETIRED) gentoo-dev 2009-09-27 20:29:15 UTC
This is somehow like gitosis, but for Mercurial
-based on hg-ssh
-see: http://hg.opensource.lshift.net/mercurial-server/file/release_0.6/README

Ebuild is in science overlay
Comment 1 Paul Crowley 2009-09-28 11:13:04 UTC
Many thanks on your work making mercurial-server more useful.  It now finally has a home page: http://www.lshift.net/mercurial-server.html
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2009-11-14 18:38:10 UTC
version bumped to 0.9

@paul: Can you take a look at this patch:
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=blob;f=dev-util/mercurial-server/files/mercurial-server-0.9-docbook-path.patch

It makes the path of docbook stylesheet changeable.
Comment 3 Paul Crowley 2010-01-04 16:27:23 UTC
(In reply to comment #2)
> version bumped to 0.9
> 
> @paul: Can you take a look at this patch:
> http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=blob;f=dev-util/mercurial-server/files/mercurial-server-0.9-docbook-path.patch
> 
> It makes the path of docbook stylesheet changeable.

This patch is in the most recent release. Thanks!
Comment 4 Gary Donovan 2010-01-15 06:38:01 UTC
Thanks for your work with this ebuild - it's saved me some effort.

I wanted to let you know that I have this compiled and (seemingly) working on the (apparently hitherto unused) amd64 architecture. Just had to unmask the package.

 - garyD
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2010-01-15 18:05:06 UTC
Thanks for testing, ~amd64 keyword added to the ebuild.
Comment 6 Christoph Junghans (RETIRED) gentoo-dev 2010-03-07 13:13:25 UTC
The move dev-util -> dev-vcs was done in sci overlay.

There is still the qa issue with some binary files in /usr/share/ ! 
Comment 7 Domen Kožar 2010-03-11 11:59:19 UTC
Seems like .mercurial-server configuration file is not copied at first installation to /home/hg/ (mine was located at /root/), causing wierd errors.
Comment 8 Domen Kožar 2010-03-11 12:10:28 UTC
Created attachment 223137 [details, diff]
Fixes sudo commands

Added -H parameter to sudo commands, that makes it obey users HOME directory.
Comment 9 Christoph Junghans (RETIRED) gentoo-dev 2010-03-11 20:52:42 UTC
(In reply to comment #8)
> Created an attachment (id=223137) [details]
> Fixes sudo commands
> 
> Added -H parameter to sudo commands, that makes it obey users HOME directory.
> 
Fixed, thanks for reporting!
Comment 10 Frédéric Barthelery 2010-09-08 13:12:33 UTC
Good ebuild.
The installation instructions should use su - hg -c "command" instead of sudo, because sudo is not installed on every gentoo system.
Comment 11 Christoph Junghans (RETIRED) gentoo-dev 2010-09-08 14:37:13 UTC
(In reply to comment #10)
> Good ebuild.
> The installation instructions should use su - hg -c "command" instead of sudo,
> because sudo is not installed on every gentoo system.
> 
Done, there are still some qa issue, which I will fix soon.
Comment 12 Leho Kraav (:macmaN @lkraav) 2010-09-16 20:40:50 UTC
my emerge failed because of missing docbook-xsl-stylesheets, so that should probably added as a dependency.
Comment 13 Christoph Junghans (RETIRED) gentoo-dev 2010-09-17 07:25:04 UTC
(In reply to comment #12)
> my emerge failed because of missing docbook-xsl-stylesheets, so that should
> probably added as a dependency.
> 
app-text/docbook-xsl-stylesheets is already in DEPEND, so what exactly is the error? More me it works with =app-text/docbook-xsl-stylesheets-1.75.2.
Comment 14 Leho Kraav (:macmaN @lkraav) 2010-09-17 07:49:25 UTC
hmmm, sorry, my bad for not going through ebuild before writing. 

it is strange though, because emerge mercurial-server did not automatically pull docbook-xsl-stylesheets in for me. instead, the building process simply failed at the documentation creation step. manually emerging docbook-xsl-stylesheets enabled mercurial-server to build as expected.
Comment 15 Leho Kraav (:macmaN @lkraav) 2010-12-18 21:45:53 UTC
i see in shortlog that mercurial-server 1.1 has been released:

http://hg.opensource.lshift.net/mercurial-server/rev/01eca64f77ab
Comment 16 Leho Kraav (:macmaN @lkraav) 2010-12-18 21:50:00 UTC
i'm noticing that hardcoding hg user home directory is not a good idea, i have it located somewhere other than /home/hg.
Comment 17 Christoph Junghans (RETIRED) gentoo-dev 2010-12-19 12:51:39 UTC
Version bump done!

(In reply to comment #16)
> i'm noticing that hardcoding hg user home directory is not a good idea, i have
> it located somewhere other than /home/hg.
It is now located in /var/lib (like gitolite). You can easily move it to a different location using 'usermod -m -d /new/location/ hg'


Comment 18 Rafael Martins (RETIRED) gentoo-dev 2011-01-13 06:36:23 UTC
I'm wondering why this ebuild is on sci... anyway, I'll improve it a bit and move to the main tree soon.

Regards
Comment 19 Christoph Junghans (RETIRED) gentoo-dev 2011-01-13 08:31:46 UTC
(In reply to comment #18)
> I'm wondering why this ebuild is on sci... anyway, I'll improve it a bit and
> move to the main tree soon.
Feel free to take it, otherwise I will do it whenever bug #335570 is fixed ;-)

I add it to sci overlay, because in Sept 2009 this was the only overlay I could access and I am using it mostly at work (a science place). However recently we switched to RhodeCode (https://rhodecode.org/), maybe you want to take a look at that.

Comment 20 Rafael Martins (RETIRED) gentoo-dev 2011-01-13 20:27:42 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > I'm wondering why this ebuild is on sci... anyway, I'll improve it a bit and
> > move to the main tree soon.
> Feel free to take it, otherwise I will do it whenever bug #335570 is fixed ;-)
> 
> I add it to sci overlay, because in Sept 2009 this was the only overlay I could
> access and I am using it mostly at work (a science place). However recently we
> switched to RhodeCode (https://rhodecode.org/), maybe you want to take a look
> at that.
> 

InCVS. I'm wanting this package for help infra guys with bug #350461. They need a gitolite-like system for mercurial.

Good luck with the quiz reviews ;)

Regards