Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #51  
Old 4th March 2013, 20:21
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
Default

Quote:
The only real problem I struck was missing libnss libs in a jailkit chroot so I could <ahem> use git and pull some scripts from Github.
You should be able to add it in the jailkit settings under System > server config as additional dependency. If thats not enough, define a new app class in the jailkit configuration and refer to it under System > Server config

Quote:
I was going to use Zpanel (primarily because it's Github based) but the codebase is somewhat over engineered and not as mature as ISPConfig so it looks like I'm in for the long haul now and that partly explains why I am so passionate about using Github. I want to see this codebase improve as quickly as possible and, aside from the people that actually do the work, Github is the next best accelerator from cranium to the real world.
A large part of ISPConfigs maturity comes from the reason that we handle things a bit old school. We had several contributors that wanted to push ispconfig forwards faster e.g. before we released 3.0.3, it ended in a complete disaster and took us about 6 moths of work to stabilize the system again so instead of being faster, we had a massive slowdown in development speed, and it was not the fault of the code management system. As you might imagine, the guys which caused the problems were not there anymore at the time it came to fix the issues they caused, so the corde devs had to do it and were not able to add any new features to ispconfig for half a year.

We are doing the ispconfig development as a long term effort to develop the best controlpanel on the market. I'am working on it for more then ten years now if we count ispconfig 2 and I plan to do it still in 10+ years. I've seen a lot of panels rise and fall in that time and if you plan to setup a company or larger server infrastructure on a panel you should also take in account how likely it is that the developers will support it in futureor if they are just hobbyists which wrote a shiny gui. You might have got me wrong in the above post, I did not ask for more contributions in general. I explained why it is difficult for a complex project like ispconfig to handle more contributions and how to get the right contributions which dont block core devs with bugfixing only. So this is more then git fanboys vs. old school programmers.

Today it is hip to use github and in 3 years everyone wants to us the next big hyped platform to manage the code and then we are caught in the github enviroment with all feature requests etc. A few years ago, sourceforge was hip and what if you used it to manage all your bug trackersetc, then you might be lost now.

So we have modernized our infrastructure and will modernize it even more in future, updated the bugtracker etc. and there is no general decision against git or github for this project, we just have to keep long time goals in mind as well. For example I checked out gitlab lately as it allows a functionality similar to github but without having to rely on their promise to not charge us for their service and without data / vendor lock in.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 4th March 2013 at 20:30.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Petr (5th March 2013)
Sponsored Links
  #52  
Old 6th March 2013, 15:27
markc markc is offline
Member
 
Join Date: Dec 2012
Posts: 57
Thanks: 6
Thanked 9 Times in 9 Posts
Default

till: You should be able to add it in the jailkit settings under System > server config as additional dependency.

Thank you, spot on advice. This works on Ubuntu 12.10 so that id shows the user/group names instead of just the uid/gid which causes ssh to not work back out from the server (hence git, scp and rsync as well)...
Code:
cd /etc/jailkit
cp jk_init.ini jk_init.ini.orig
sed -i 's/lib64/lib\/x86_64-linux-gnu/g' jk_init.ini
diff -u jk_init.ini.orig jk_init.ini
--- jk_init.ini.orig    2013-03-06 22:35:04.502405510 +1100
+++ jk_init.ini 2013-03-06 23:16:06.070051327 +1100
@@ -2,12 +2,12 @@
 # this section probably needs adjustment on 64bit systems
 # or non-Linux systems
 comment = common files for all jails that need user/group information
-libraries = /lib/libnsl.so.1, /lib64/libnsl.so.1, /lib/libnss*.so.2, /lib64/libnss*.so.2
+libraries = /lib/libnsl.so.1, /lib/x86_64-linux-gnu/libnsl.so.1, /lib/libnss*.so.2, /lib/x86_64-linux-gnu/libnss*.so.2
 regularfiles = /etc/nsswitch.conf, /etc/ld.so.conf
 
 [netbasics]
 comment = common files for all jails that need any internet connectivity
-libraries = /lib/libnss_dns.so.2, /lib64/libnss_dns.so.2
+libraries = /lib/libnss_dns.so.2, /lib/x86_64-linux-gnu/libnss_dns.so.2
 regularfiles = /etc/resolv.conf, /etc/host.conf, /etc/hosts, /etc/protocols
 
 [logbasics]
@@ -47,7 +47,7 @@
 
 [sftp]
 comment = ssh secure ftp
-executables = /usr/lib/sftp-server, /usr/libexec/openssh/sftp-server, /usr/lib/misc/sftp-server, /usr/libexec/sftp-server
+executables = /usr/lib/sftp-server, /usr/libexec/openssh/sftp-server, /usr/lib/misc/sftp-server, /usr/libexec/sftp-server, /usr/lib/openssh/sftp-server
 includesections = netbasics, uidbasics
 devices = /dev/urandom, /dev/null
And FWIW the System -> Server Config -> Jailkit chroot app section currently has basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh but extendedshell already includes basicshell editors so they could be removed. Of course I added git as well.

Woops, no, I take that back, git is still missing from the jailkit chroot even though I added git to the Server Config section for jailkit. SSH works back out from the server though.
Reply With Quote
  #53  
Old 6th March 2013, 15:39
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
Default

Thanks for the patch.

Quote:
Woops, no, I take that back, git is still missing from the jailkit chroot even though I added git to the Server Config section for jailkit. SSH works back out from the server though.
The settings there affect only new jails. a jail is created when the first jailed user is added to a website. If you like to test the new settings, create a new site and then a new jailed user. There is currently no funktion to update a jail yet from ispconfig, but jailkit offers tools for that if I remember correctly.

Btw, we decided to give github a try. Is there someone with experince in converting a complete svn repository incl. tags and branches to git which might be able to help out?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cfoe (6th March 2013)
  #54  
Old 6th March 2013, 15:46
markc markc is offline
Member
 
Join Date: Dec 2012
Posts: 57
Thanks: 6
Thanked 9 Times in 9 Posts
Default

till: Btw, we decided to give github a try.

You won't regret it and I'll be more than happy to help where I can :-)

https://help.github.com/articles/imp...rom-subversion
https://github.com/blog/626-announcing-svn-support

Update: I see you have https://github.com/ispconifg ... excellent. You may want to consider turning it into an Organisation.

Re using git clone https from within a jailkit chroot also requires curl (with a lot of dependent libs) and at least /etc/ssl/certs, also /dev/random, and /usr/lib/git-core/ is missing from the git section of /etc/jailkit/jk_init.ini. This is mainly a note to myself to remind me what's missing next time I add a new user.

Last edited by markc; 6th March 2013 at 17:00.
Reply With Quote
  #55  
Old 6th March 2013, 16:51
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

the svn2git ruby gem is the only good way.
I did it here: https://github.com/Foe-Services-Mirrors/ISPConfig3
but I did not remap the users like described here:https://github.com/nirvdrum/svn2git#authors

If you like I can do the proper export. You need to send me a ssh cert you set as deploy key on github for the organization.
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services

Last edited by cfoe; 6th March 2013 at 16:54.
Reply With Quote
  #56  
Old 7th March 2013, 18:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
Default

Quote:
Originally Posted by cfoe View Post
the svn2git ruby gem is the only good way.
I did it here: https://github.com/Foe-Services-Mirrors/ISPConfig3
but I did not remap the users like described here:https://github.com/nirvdrum/svn2git#authors

If you like I can do the proper export. You need to send me a ssh cert you set as deploy key on github for the organization.
This would be great. I will prepare the repository next week for the import.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #57  
Old 7th March 2013, 18:05
cfoe cfoe is offline
ISPConfig Developer
 
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 57 Times in 32 Posts
Send a message via Skype™ to cfoe
Default

Currently I am running the transfer for the ajaxplorer team.
Will be up shortly here: https://github.com/ajaxplorer/ajaxplorer-core
__________________
Christian Foellmann

OpenSource-Projects - GitHub-Projects - SVN-Mirrors on GitHub - Foe Services
Reply With Quote
  #58  
Old 9th March 2013, 09:44
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 200
Thanks: 26
Thanked 65 Times in 48 Posts
Default

Kind of offtopic, but I thought that these links may be helpful:

http://buildamodule.com/video/change...called-gitflow

is about how to deal with branches, releases etc. (great model!)

and http://www.git-legit.org/ is a small wrapper around some git commands (useful for beginners).
Reply With Quote
The Following User Says Thank You to MaddinXx For This Useful Post:
till (11th March 2013)
  #59  
Old 9th March 2013, 15:21
markc markc is offline
Member
 
Join Date: Dec 2012
Posts: 57
Thanks: 6
Thanked 9 Times in 9 Posts
Default

More links. There is a fairly complete free video here...

http://vimeo.com/37408017

the original article about "gitflow" is...

http://nvie.com/posts/a-successful-git-branching-model/

and the above authors gitflow shell scripts...

https://github.com/nvie/gitflow

I prefer "testing" instead of "develop" and "next" instead of "release" but the idea of using the master branch as a stable rolling release system is golden. Aside from using branches to support evolving code to production quality the point I like the most is that over the years the latest canonical target to fetch from can be a single persistent URL that never changes, ie; no version number tarballs that become redundant within a year hanging around in google searches. Of course one can still provide "legacy" versioned tarballs tagged from git but it doesn't have to remain the primary distribution method. Using a single git master source can lead to more dynamic and automatic ways to deploy production services in ways that are not really possible with static tarball snapshots or even versioned distro packages. Below is a simple but good example of what I mean with dynamic update possibilities...

https://www.youtube.com/watch?v=hv4hwgQO9xI

Last edited by markc; 9th March 2013 at 16:06.
Reply With Quote
The Following User Says Thank You to markc For This Useful Post:
till (11th March 2013)
  #60  
Old 14th March 2013, 15:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,749
Thanks: 840
Thanked 5,601 Times in 4,412 Posts
 
Default

Just an update to let you know that I hacent forgot this We are currenntly working on the 3.0.5.2 patch release to fix the current issues. To ensure that the release does not get delayed by the switch to git, I would like to switch to git after 3.0.5.2 got released. I guess this will be in 1-2 weeks.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cfoe (14th March 2013)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Till, Falko, developer enviroments? quentusrex Developers' Forum 3 11th November 2008 20:56
Need Developer - ffmpeg ranjuvs Installation/Configuration 1 19th May 2008 12:23
Visual Web developer 2005 and Linux willebanks Programming/Scripts 2 16th May 2008 18:02
web developer moving to linux mtaylor314 Technical 2 10th December 2007 00:52
Clamscan concern... palkat General 1 22nd September 2006 18:47


All times are GMT +2. The time now is 16:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.