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

From SME Server
Jump to navigationJump to search
(Created page with "__TOC__ == Adding in an updated tar file to the CVS and buildsystem == # Create the new tar file on your local build system # Send it the remote buildsys (scp?) # Login into...")
 
 
(7 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
+
# 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)
# Edit version number in spec file and delete patch commands
+
#OR cvs -z3 -d /cvs/smecontribs co -P contrib
# Copy new tar file into the contribs10 directory
+
#Edit version number in spec file and delete patch commands
# Make newsources FILE="contribs-release.tar.gz"
+
#Copy new tar file into the contribs10 directory
# cvs commit -m "comment about commit" (this simultaneously commit spec and tar file)
+
#"make new-sources FILES="contribs-release.tar.gz"
# logout from buildsys
+
#cvs commit -m "comment about commit" (this simultaneously commit spec and tar file)
# Go to contribs10 file on local build system
+
#logout from buildsys
# prepa (or cvs update -dPA)
+
#Go to contribs10 file on local build system
# Check new spec and tar file and tree (+.old) is correct!
+
#prepa (or cvs update -dPA)
# Mockbuild locally
+
#Check new spec and tar file and tree (+.old) is correct!
# Test it.
+
# Mockbuild locally
# Build it on buildsys (make commit tag build)
+
#Test it.
 +
#Build it on buildsys (make commit tag build)
  
[[Category:Howto]] [[Category:Developer]]
+
[[Category:Howto]]  
 +
[[Category:Developer]]

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)