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 |
− | # | + | #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) |
− | # | + | #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
- 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?)
- Login into buildsys
- 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
- Copy new tar file into the contribs10 directory
- "make new-sources FILES="contribs-release.tar.gz"
- cvs commit -m "comment about commit" (this simultaneously commit spec and tar file)
- logout from buildsys
- Go to contribs10 file on local build system
- prepa (or cvs update -dPA)
- Check new spec and tar file and tree (+.old) is correct!
- Mockbuild locally
- Test it.
- Build it on buildsys (make commit tag build)