mainSavannah Administration - Support: sr #106309, add support for mercurial vcs

 
 

sr #106309: add support for mercurial vcs

Submitter:  Aleix Conchillo Flaqué <aleix>
Submitted:  Mon 17 Mar 2008 10:58:51 AM UTC
   
 
Category:  Source code repositories - developer access Priority:  5 - Normal
Severity:  1 - Wish Status:  Done
Privacy:  Public Assigned to:  Beuc
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 02 Jun 2008 07:51:08 PM UTC, comment #15: 

Mercurial is now available at Savannah ;)

Sylvain Beucler <Beuc>
Wed 09 Apr 2008 09:15:38 PM UTC, comment #14: 

By the way, feel free to join savannah-hackers-public@gnu.org, or the #savannah IRC channel at FreeNode :)

The bug tracker is not the very best for communication ;)

Sylvain Beucler <Beuc>
Wed 09 Apr 2008 09:10:39 PM UTC, comment #13: 


> Two days ago I read that Bazaar is becoming a GNU package, is
> someone adding support for it?


I had done some research and setup the system side with a shell-restricted / no-sftp access based on the bzr protocol (read via inetd and write via ssh). Plus shell restrictions in /usr/src/savane/backend/accounts/sv_membersh.in.

Aside from that nobody is adding support for it - that is, frontend integration, multi-repo support, loggerhead (or something else) integration, etc.

Sylvain Beucler <Beuc>
Sun 06 Apr 2008 11:22:39 AM UTC, comment #12: 

Hi,

yes, I already updated and installed the packages I wanted, I was just saying it for the downloadable image.

About the root user, OK.

Yes, I am looking forward for reading it too :-). Please, do not expect too much, I just will do what I can.

Two days ago I read that Bazaar is becoming a GNU package, is someone adding support for it?

Aleix

Aleix Conchillo Flaqué <aleix>
Sat 05 Apr 2008 08:40:59 AM UTC, comment #11: 

Hi,

I rebuilt a new image.

> if you want you can install postfix and I will include minimal
> instructions to use a smarthost (e.g. gmail) in order to send
> mail.


Done.

> - Could you please also install mercurial?


I installed it too (package from backports.org).
Note that you can install any package you want, using APT. Fix sources.list first though.

> - The source code of savane in /usr/src/savane has some
> problems in the po directory. With problems, I mean you
> can not do a "git pull", you need to first remove some
> of the .po files and pull again.


The .po files are not necessarily in sync with the PHP sources in the Git repository, which means they'll be updated during 'make'. This may cause troubles indeed. A 'git checkout po/' reverts the local changes. Maybe .po shouldn't be updated on 'make'.

> - I guess the intention is to work with the source code in
> /usr/src/savane and then install it to /var/www.


Yes, there's a symlink in /var/www

> Has the install script in /root anything to do with that?


Nope, this install script is for reference only. It's the way Savane was installed in the minimal Etch system produced by debootstrap (that's part of the disk image building process). You'll use this file if you want to reinstall Savane somewhere else.

> Basically the question is, if I make changes to
> /usr/src/savane, what's the best (cleanest) way to
> proceed to update /var/www/savane?


It's a symlink, so it's automatic for the frontend.
For the backend, you need 'make install'.

> - Regarding the /usr/src/savane, wouldn't it be safer
> to create a savane user and move the source code to its
> home?


I don't think so. Files currently belong to root, just like any other program installed on the system. If you're uncomfortable running as root (which doesn't really matter in a disk image) you can create the 'savane' user.


> I am planning to create a newbie development document
> (Texinfo) or wiki page with things I am finding.


OK, I'm looking forward to reading it.

Sylvain Beucler <Beuc>
Thu 03 Apr 2008 07:46:20 AM UTC, comment #10: 

Hi,

if you want you can install postfix and I will include minimal instructions to use a smarthost (e.g. gmail) in order to send mail.

Other things:

- Could you please also install mercurial?
- The source code of savane in /usr/src/savane has some problems in the po directory. With problems, I mean you can not do a "git pull", you need to first remove some of the .po files and pull again.
- I guess the intention is to work with the source code in /usr/src/savane and then install it to /var/www. Has the install script in /root anything to do with that? Basically the question is, if I make changes to /usr/src/savane, what's the best (cleanest) way to proceed to update /var/www/savane?
- Regarding the /usr/src/savane, wouldn't it be safer to create a savane user and move the source code to its home?

I am planning to create a newbie development document (Texinfo) or wiki page with things I am finding.


Aleix Conchillo Flaqué <aleix>
Wed 02 Apr 2008 09:45:34 PM UTC, comment #9: 

Hi,

I see that the qemu image has no mail system configured. Sending mail is complicated because of spam issues nowadays, but I'll try to see how I can fix it.

Meanwhile you can redirect all outgoing mails in a mailbox using:
  php_admin_value sendmail_path /var/www/savane/tests/minimal_configs/fakesendmail.sh
in your apache/conf.d/savane.conf

Cheers.

Sylvain Beucler <Beuc>
Wed 02 Apr 2008 09:02:17 PM UTC, comment #8: 

Hi,

I don't remember exactly how I setup the mail system, but it's possible I caught them from PHP, which means they are stored in a mailbox in /tmp instead of being actually send (I'll download the image and check). Otherwise I'd recommend using "root@localhost"-style adresses for users.

I put some very basic information to get started with Savane at:
https://savannah.gnu.org/maintenance/SavaneTasks
(in particular, referenced doc/devel/DEVEL and doc/devel/CLEANUP), but indeed there could be more not developer/admin-oriented documentation.

Feel free to add a page in the wiki about things that users need when getting started with Savane :)

Sylvain Beucler <Beuc>
Wed 02 Apr 2008 06:42:30 PM UTC, comment #7: 

I have successfully registered and approved a project so forget my last question :-).

Now, I will try to start again duplicating the others SCMs code.

Aleix Conchillo Flaqué <aleix>
Wed 02 Apr 2008 08:00:24 AM UTC, comment #6: 

Hi again,

honestly, I only did a first try with the savane image. I just duplicated everything that say git by hg. Once I finished I became conscicious that I did not have any idea of what I was doing, so I decided to remove everything.

Yesterday, I started again by the simplest thing: trying to create a user. As a mail server is not installed in the savane image (is it?) I did not receive the email verification, so I started to dig into the database, etc. I was losing a lot of time, so I just installed postfix and I created another user.

Today, I will try to create a project and try to understand all the process.

Is there any document that describes how to accept a project? May be I am asking to early, but will I see any web options to accept projects? do I need to execute a script?

I saw a lot of README files in each directory, and sincerely I got a bit lost. May be I am missing some important web or document where eveything is explained.

Thanks in advance.




Aleix Conchillo Flaqué <aleix>
Tue 01 Apr 2008 09:13:42 PM UTC, comment #5: 

Hi,

Any progress? :)

Sylvain Beucler <Beuc>
Sat 22 Mar 2008 04:06:06 PM UTC, comment #4: 

Thanks for the info. I will start looking at it (in vacation now).

For what I have read, the best way is to use this script:

http://www.selenic.com/repo/hg-stable/raw-file/tip/contrib/hg-ssh

in the command option of the authorized_keys.

In any case, I will try to look other options (if available), as I have always used shell access.


Aleix Conchillo Flaqué <aleix>
Fri 21 Mar 2008 08:43:14 AM UTC, comment #3: 

Hi,

You will also be interested in an overview of the Savannah architecture:
https://savannah.gnu.org/maintenance/SavannahArchitecture

The component that offers integration between the user base, the web interface and the system is Savane:
https://savannah.gnu.org/projects/savane-cleanup

The easiest way to tset Savane is to install the QEMU image
http://dl.sv.gnu.org/releases/savane-cleanup/test-install/
You can also download it from Git and check tests/minimal_install/Makefile

I had checked Mercurial a while ago and started this webpage:
https://savannah.gnu.org/maintenance/Hg
Probably this needs to be updated and completed.

One constraint we have at Savannah is that we don't offer direct shell access, we prefer to give access through restricted shell (such as "git-shell", "cvs server", etc. See sv_membersh.pl.in in the source code). What is the best way to make Mercurial fit?

Sylvain Beucler <Beuc>
Thu 20 Mar 2008 09:22:14 AM UTC, comment #2: 

Hi,

well, I wanted to focus (after some time of incativity) in releasing new versions of my personal projects, but I guess I can wait a little more and help :-).

I will start looking at the maintenance docs:

https://savannah.gnu.org/maintenance/HowToBecomeASavannahHacker
https://savannah.gnu.org/maintenance/SavannahHackersCommunication

I have also subscribed to the savannah-hackers-public list.

Anything else?


Aleix Conchillo Flaqué <aleix>
Wed 19 Mar 2008 10:39:32 PM UTC, comment #1: 

Hi,

It's more likely to happen if you implement it :)
Do you have time to contribute?

Sylvain Beucler <Beuc>
Mon 17 Mar 2008 10:58:51 AM UTC, original submission:  

Support for git has been added to savannah, and this is great! Thanks!

Is it also possible to add support for Mercurial?

Aleix Conchillo Flaqué <aleix>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by Beuc (Posted a comment)
  • -email is unavailable- added by aleix (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-02 Beuc StatusNeed Info Done
        Open/ClosedOpen Closed
    2008-04-01 Beuc Assigned toNone Beuc
    2008-03-19 Beuc StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code