Difference between revisions of "Add tar file to CVS and build system"

From SME Server
Jump to navigationJump to search
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Adding in an updated tar file to the CVS and buildsystem ==
 
== Adding in an updated tar file to the CVS and buildsystem ==
  
# Create the new tar file on your local build system (tar -cvzf smeserver-<contrib>-<version> smeserver-<contrib>-<version>/)
+
# Make sure you have done an update or prepa in the contribs10 directory
 +
# Create the new tar file on your local build system (tar -cvzf smeserver-<contrib>-<version>.tar.gz  smeserver-<contrib>-<version>/)
 
# Send it the remote buildsys (scp?)
 
# Send it the remote buildsys (scp?)
 
# Login into buildsys
 
# Login into buildsys
 
#cvs update -dPA in previously checked out (not anonymous) contribs10 directory (or whereever)
 
#cvs update -dPA in previously checked out (not anonymous) contribs10 directory (or whereever)
 +
#OR cvs -z3 -d /cvs/smecontribs co -P contrib
 
#Edit version number in spec file and delete patch commands
 
#Edit version number in spec file and delete patch commands
 
#Copy new tar file into the contribs10 directory
 
#Copy new tar file into the contribs10 directory
#Make newsources FILE="contribs-release.tar.gz"
+
#"make new-sources FILES="contribs-release.tar.gz"
 
#cvs commit -m "comment about commit" (this simultaneously commit spec and tar file)
 
#cvs commit -m "comment about commit" (this simultaneously commit spec and tar file)
 
#logout from buildsys
 
#logout from buildsys

Latest revision as of 08:47, 7 January 2023

Adding in an updated tar file to the CVS and buildsystem

  1. Make sure you have done an update or prepa in the contribs10 directory
  2. Create the new tar file on your local build system (tar -cvzf smeserver-<contrib>-<version>.tar.gz smeserver-<contrib>-<version>/)
  3. Send it the remote buildsys (scp?)
  4. Login into buildsys
  5. cvs update -dPA in previously checked out (not anonymous) contribs10 directory (or whereever)
  6. OR cvs -z3 -d /cvs/smecontribs co -P contrib
  7. Edit version number in spec file and delete patch commands
  8. Copy new tar file into the contribs10 directory
  9. "make new-sources FILES="contribs-release.tar.gz"
  10. cvs commit -m "comment about commit" (this simultaneously commit spec and tar file)
  11. logout from buildsys
  12. Go to contribs10 file on local build system
  13. prepa (or cvs update -dPA)
  14. Check new spec and tar file and tree (+.old) is correct!
  15. Mockbuild locally
  16. Test it.
  17. Build it on buildsys (make commit tag build)