Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321556

Summary: Allow (user) crontabs on git.eclipse.org
Product: Community Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ServersAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 319948    

Description Markus Kuppe CLA 2010-08-03 03:56:03 EDT
Hi,

while moving from CVS to git I have found that it would be handy if users could run crontab on git.eclipse.org. E.g. to sync the new git repo regularly over the transition time.

Thanks
Comment 1 Denis Roy CLA 2010-08-03 13:08:30 EDT
You can run crontabs on build.eclipse.org, which has the same disk mount points and access as git.eclipse.org.

We have redundant servers for git.eclipse.org and dev.eclipse.org, and we enjoy having the freedom of taking nodes offline for maintenance at any given time.  Doing this would break your cron, whereas the build server is expected to be always there.
Comment 2 Markus Kuppe CLA 2010-08-03 14:01:48 EDT
On build.eclipse.org trying to use git causes:

mkuppe@build:~> /usr/local/libexec/git-core/git-cvsimport -v -i -p -x -d :local:/home/data/cvs/rt/ org.eclipse.ecf -C /gitroot/ecf/org.eclipse.ecf.git/
-committer_shell: /usr/local/libexec/git-core/git-cvsimport: No such file or directory

and 

mkuppe@build:/usr/local/libexec/git-core> which git-cvsimport
which: no git-cvsimport in (/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/gnome/bin)
Comment 3 Denis Roy CLA 2010-08-03 14:32:48 EDT
I've symlinked the path to the older version of git currently running on build.  Since the upgrade I haven't had a chance to resolve the compilation issue with the newer version of git yet.  But that is forthcoming.
Comment 4 Markus Kuppe CLA 2010-08-03 14:44:50 EDT
Sorry but I have to nag again. It is still not possible to run git-cvsimport.

mkuppe@build:~> /usr/local/libexec/git-core/git-cvsimport -v -i -p -x -d :local:/home/data/cvs/rt/ org.eclipse.ecf -C /gitroot/ecf/org.eclipse.ecf.git/
Can't exec "git-symbolic-ref": No such file or directory at /usr/local/libexec/git-core/git-cvsimport line 572, <GEN0> line 2.
Cannot run git-symbolic-ref: No such file or directory
Comment 5 Eclipse Webmaster CLA 2010-08-03 15:49:19 EDT
I've built and installed git 1.7.1 and your import is running fine.

-M.
Comment 6 Markus Kuppe CLA 2010-08-03 15:58:10 EDT
Thanks!
Comment 7 Markus Kuppe CLA 2010-10-03 03:30:20 EDT
Looks like that with the demise of old build.eclipse.org git-cvsimport no longer runs:

mkuppe@build:~> /usr/local/libexec/git-core/git-cvsimport -v -i -p -x -d :local:/home/data/cvs/rt/ org.eclipse.ecf -C /gitroot/ecf/org.eclipse.ecf.git/
-committer_shell: /usr/local/libexec/git-core/git-cvsimport: No such file or directory
mkuppe@build:~> git-cvsimport -v -i -p -x -d :local:/home/data/cvs/rt/ org.eclipse.ecf -C /gitroot/ecf/org.eclipse.ecf.git/
If 'git-cvsimport' is not a typo you can run the following command to lookup the package that contains the binary:
    command-not-found git-cvsimport
-committer_shell: git-cvsimport: command not found
Comment 8 Denis Roy CLA 2010-10-03 09:06:41 EDT
Git wasn't even installed :/

You'll find cvsimport here:
/usr/local/libexec/git-core/git-cvsimport
Comment 9 Markus Kuppe CLA 2010-10-03 10:05:07 EDT
mkuppe@build:~> /usr/local/libexec/git-core/git-cvsimport -v -i -p -x -d :local:/home/data/cvs/rt/ org.eclipse.ecf -C /gitroot/ecf/org.eclipse.ecf.git/
Running cvsps...
Can't exec "cvsps": No such file or directory at /usr/local/libexec/git-core/git-cvsimport line 687.
Could not start cvsps: No such file or directory
git cvsimport: fatal: cvsps reported error

cvsps does not seem to be installed either. :(
Comment 10 Denis Roy CLA 2010-10-03 12:09:18 EDT
cvsps is in the SLES repo .. It's installed now; apologies for the oversight.