Changes

From SME Server
Jump to navigationJump to search
2,588 bytes removed ,  06:04, 11 February 2017
m
Reverted edits by RequestedDeletion (talk) to last revision by Unnilennium
Line 1: Line 1:  +
{{Languages|:Releasing_Contribs}}
 
==Releasing Contribs==
 
==Releasing Contribs==
    
===Writing===
 
===Writing===
The [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/devguide.html#STEP-BY-STEP-INSTRUCTIONS Developers Manual] has information required to write a contrib for SME Server
+
The [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/devguide.html#STEP-BY-STEP-INSTRUCTIONS Developers Manual] and page [[:Web Application RPM]] have information required to write a contrib for SME Server
    
===Releasing===
 
===Releasing===
 
For consistency between contribs it's suggested that you follow these guidelines
 
For consistency between contribs it's suggested that you follow these guidelines
   −
<ol></li><li>Announce your new rpm on the [http://forums.contribs.org forum], make the subject similar to below
+
* Announce your new rpm on the [http://forums.contribs.org forum], make the subject similar to below
 
[ANNOUNCE] rpm name
 
[ANNOUNCE] rpm name
   −
</li><li>Submit a bug to the [http://bugs.contribs.org bugtracker], for SME Contribs, asking for a new component to be added with your rpm name. Include links to download your rpm including your source RPM. Include a short description, perhaps the description from the spec file,</li></ol>
+
* Submit a bug to the [http://bugs.contribs.org bugtracker], for SME Contribs, asking for a new component to be added with your rpm name. Include links to download your rpm including your source RPM. Include a short description, perhaps the description from the spec file.
   −
Your contrib should preferably be in the [http://mirror.contribs.org/smeserver/releases/7/smedev/i386/repodata/ SME Dev] repository, see [http://wiki.contribs.org/ReleasingContribs#Submitting_a_contrib_to_the_SME_Server_repository below] for how to obtain access.
+
* Your contrib should preferably be in the SME Contribs repository.
{{Note box|If your contrib is not in SME Dev or has no category in the SME Server Bugtracker please do so.}}
     −
===SME Extras Repositories===
+
===SME Contribs Repositories===
The SME Extras repository will contain RPMs that have been through a review process, RPMs in the SME Extras repository will be able to be installed directly from the Software Installer panel in the server-manager. Currently the SME Extras repository does not hold any contribs, but this will change in the future.
+
The SME Contribs repository contain RPMs that stored on the sourceforge smecontribs repository and have passed some level of verification from senior SME developers for their initial importation.
{{Note box|The process for having your contrib included in SME Extras is currently being outlined and developed and therefore is far from complete.}}
     −
===Submitting a contrib to the SME Server repository===
+
To get your package in the SME Contribs repository follow the instructions at [[:Package Modification]].
To get your package in the SME Extras repository it has to go through a review process. The first steps to get your contrib in the SME Extras repository are:
     −
<ol></li><li>[http://bugs.contribs.org/enter_bug.cgi?product=SME%20Server%20Extras&component=Package%20Review Submit your contrib for Package Review] in the SME Server Extras category of the Bugtracker. Be sure to add the following information:
+
After initial verification for importation, bug fix and verification is the sole responsibility of the contributor or the person who step in to fix the bug and or built the package. He may ask help from somebody with the appropriate configuration, hardware to assist him doing so if he feels himself unable to test it.
* (a link to) the SPEC file
+
Moving the resulting rpm from smebuild or smetest to smecontribs is the responsibility of the person who built the package.
* (a link to) the source RPM (SRPM)
  −
 
  −
</li><li>SME Server code is stored in the CVS on [http://www.sourceforge.net SourceForge]. To be able to work on your code in the SME Server CVS repository you need an account on SourceForge. With this account the development team can give you access to the CVS repository. More information can be found here:
  −
*  [http://sourceforge.net/docman/display_doc.php?docid=11123&group_id=1 B04: Registering a User Account]
  −
*  [http://sourceforge.net/docman/display_doc.php?docid=29894&group_id=1 E04: CVS (Version Control for Source Code)]
     −
</li><li>After you have created your SourceForge account you can ask the development team to give you developer access. Create a bug in the Bug Tracker as usual.
+
===SME Addon Repositories===
 +
The SME Addon repository will contain RPMs that have been through a review process, RPMs in the SME Addon repository will be able to be installed directly from the Software Installer panel in the server-manager. Currently the SME Addon repository does not hold any contribs, but this will change in the future.  
   −
</li><li>After the development team has added you to the [http://sourceforge.net/project/memberlist.php?group_id=96750 list of developers] you can create a SSH key which is necessary to get access to the SME Server CVS, more on this can be found here: [http://sourceforge.net/docs/F02/en/#top F02: SSH Key Generation and Usage]
+
The process for having your contrib included in SME Addon is currently being outlined and developed and therefore is far from complete. It begins by adding your rpm to SME Contribs.
   −
</li><li>After you have received developer access you will have to download and configure your CVS client to work with the SME Server CVS. More information can be found here: [http://sourceforge.net/docman/display_doc.php?docid=14026&group_id=1 B01: Recommended User Software Configuration (en) ]. The SME Server development team has decided on using [[Mezzanine]] (see next item).
+
===Uploading contribs to contribs.org===
   −
</li><li>Install [[Mezzanine]] and read up on how to use it in the [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/c1577.htm SME Server's Developers Guide - The SME Server development environment].
+
'''If you have created a contrib and wish to share with everyone then the best method is to add it to SME Contribs.'''
   −
</li><li>Subscribe yourself to the [http://lists.contribs.org/mailman/listinfo/devinfo devinfo mailinglist]. This is the place to discuss the developement of the server and contribs. If you have other questions, not regarding development please use the [http://forums.contribs.org forums].
+
Alternatively you can upload to your mirror.contribs.org/smeserver/contribs directory. To do so you can use ssh, rysnc, sftp or scp to upload to your contrib directory.
</li></ol>
     −
===Having your contrib reviewed===
+
It is recommend that you setup public key access for your account.  The following articles may be of help to you:
{{Incomplete}}
+
* [http://www.puddingonline.com/~dave/publications/SSH-with-Keys-HOWTO/document/html/SSH-with-Keys-HOWTO.html SSH with Keys HOWTO]
The review process has not been outlined.
     −
==Uploading contrib(s) to contribs.org==
     −
If you have created a contrib and wish to share with everyone then you can upload to your mirror.contribs.org/smeserver/contribs directory. To do so you can use ssh, rysnc, sftp or scp to upload to your contrib directory.
+
====Using SSH====
 
  −
Before you start using your favorite transfer method you may wish to set up your ssh keys to authenticate against shell.contribs.org or simply ignore and you would be requested to type your password that was originally set up with your contrib area.
  −
 
  −
If you do wish to use ssh authenticated keys then log in to ssh username@shell.contribs.org using our shell password, then first create your .ssh directory:
  −
 
  −
mkdir .ssh
  −
 
  −
Change the permissions on the .ssh directory:
  −
 
  −
chmod 0700 .ssh
  −
 
  −
 
  −
Prepare our authorized keys file for our key to be copied over
  −
 
  −
cat > .ssh/authorized_keys2 << EOF
  −
 
  −
Then switch to your local box and copy your key:
  −
  −
{put your key here}
  −
  −
Then once you happy your key is copied over hit return and type:
  −
 
  −
EOF
  −
 
  −
Next change permission of your authorized_keys2 file:
  −
 
  −
chmod 0644 .ssh/authorized_keys2
  −
 
  −
Now log out of shell and re log back in this time using your newly created ssh authenticated keys.
  −
 
  −
===Using SSH===
   
You can log in using a shell account with limited access, to do this you can either use your password or set up ssh (see note about permissions of ssh keys) keys:
 
You can log in using a shell account with limited access, to do this you can either use your password or set up ssh (see note about permissions of ssh keys) keys:
   Line 100: Line 60:     
  cat bash cat chgrp chmod chown clear cp dircolors echo egrep find grep hostname id less ln ls mkdir
 
  cat bash cat chgrp chmod chown clear cp dircolors echo egrep find grep hostname id less ln ls mkdir
  more mv nano newgrp passwd rm rmdir rsync scp sftp sed sort touch uniq xargs
+
  more mv newgrp passwd rm rmdir rsync scp sftp sed sort touch uniq vi xargs
    
You can also change your password within your shell account by typing:
 
You can also change your password within your shell account by typing:
Line 108: Line 68:  
Now upload your contribs and share with everyone ;)
 
Now upload your contribs and share with everyone ;)
   −
===Using RSYNC===
+
====Using RSYNC====
 
Make sure you have a working copy of your contrib directory, for example to use rsync we will grab a copy by typing...
 
Make sure you have a working copy of your contrib directory, for example to use rsync we will grab a copy by typing...
   Line 119: Line 79:  
And that's it now wait for mirrors to sync and have a beer.
 
And that's it now wait for mirrors to sync and have a beer.
   −
===Using SFTP===
+
====Using SFTP====
    
Log in using...
 
Log in using...
Line 169: Line 129:  
And thats it wait for mirrors to sync and sit back/relax.
 
And thats it wait for mirrors to sync and sit back/relax.
   −
===Using SCP===
+
====Using SCP====
 
You can send files by using scp:
 
You can send files by using scp:
   Line 181: Line 141:  
{{Note box|The scp command only copies files or directories, it does not easily allow you to list your files on the shell.contribs.org host, or delete, copy or rename them. To do any of these interactively, you need to login via ssh.}}  
 
{{Note box|The scp command only copies files or directories, it does not easily allow you to list your files on the shell.contribs.org host, or delete, copy or rename them. To do any of these interactively, you need to login via ssh.}}  
   −
<noinclude>[[Category:Howto]]</noinclude>
+
<noinclude>[[Category:Howto]][[Category:Developer]]</noinclude>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,249

edits

Navigation menu