Prepare for release.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 24 Dec 2001 01:21:59 +0000 (01:21 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Mon, 24 Dec 2001 01:21:59 +0000 (01:21 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@174 fdb21ef1-2011-0410-befe-b5e4ea1792b1

Construct
HOWTO/release.txt
doc/man/scons.1
src/CHANGES.txt
src/README.txt
src/RELEASE.txt
src/setup.py

index f39bcb3eb604edd8c97e52ac5d74a0ab6d602b87..aa7f8d892d230422cf658902794717d347f76fdc 100644 (file)
--- a/Construct
+++ b/Construct
@@ -87,15 +87,21 @@ $revision = $ARG{version};
 chomp($revision = `$aesub '\$version' 2>/dev/null`) if $aesub && ! $revision;
 $revision = '0.02' if ! $revision;
 
-$change = $ARG{change};
-chomp($change = `$aesub '\$change' 2>/dev/null`) if $aesub && ! $change;
-
 @arr = split(/\./, $revision);
 @arr = ($arr[0], map {length($_) == 1 ? "0$_" : $_} @arr[1 .. $#arr]);
 $revision = join('.', @arr);
-pop @arr if $#arr >= 2;
-map {s/^[CD]//, s/^0*(\d\d)$/$1/} @arr;
-$version = join('.', @arr);
+
+# Here's how we'd turn the calculated $revision into our package $version.
+# This makes it difficult to coordinate with other files (debian/changelog
+# and rpm/scons.spec) that hard-code the version number, so just go with
+# the flow for now.
+#pop @arr if $#arr >= 2;
+#map {s/^[CD]//, s/^0*(\d\d)$/$1/} @arr;
+#$version = join('.', @arr);
+$version = '0.02';
+
+$change = $ARG{change};
+chomp($change = `$aesub '\$change' 2>/dev/null`) if $aesub && ! $change;
 
 chomp($python_ver = `python -c "import sys; print sys.version[0:3]"`);
 
@@ -379,8 +385,20 @@ for $p ($scons) {
        $rpm = "$RPMSdir/$pkg-$version-1.noarch.rpm";
        $src_rpm = "$SRPMSdir/$pkg-$version-1.src.rpm";
 
-       $env->InstallAs($specfile, "rpm/$pkg.spec");
-       $env->InstallAs($sourcefile, $archive);
+       # We'd like to use the following here:
+       #
+       #       $env->InstallAs($specfile, "rpm/$pkg.spec");
+       #       $env->InstallAs($sourcefile, $archive);
+       #
+       # but it looks like InstallAs doesn't propogate the
+       # signatures correctly, which means that the RPM file
+       # wouldn't always get rebuilt when it should.  Work
+       # around it.
+       use File::Copy;
+       $env->Command($specfile, "rpm/$pkg.spec",
+                     "[perl] File::Copy::copy('%<', '%>')");
+       $env->Command($sourcefile, $archive,
+                     "[perl] File::Copy::copy('%<', '%>')");
 
        if (! -d $BUILDdir) {
            $cmd = "mkdir -p $BUILDdir; ";
@@ -400,7 +418,6 @@ for $p ($scons) {
         # need to add the .debs to the install_targets.
         my $deb = "build/dist/${pkg}_$version-1_all.deb";
        $env->Command($deb, @build_src_files, qq(
-               rm -f %>
                 fakeroot make -f debian/rules VERSION=%VERSION DH_COMPAT=$DH_COMPAT ENVOKED_BY_CONSTRUCT=1 binary-$pkg
                 env DH_COMPAT=$DH_COMPAT dh_clean));
         $env->Depends($deb, @{$p->{'debian_deps'}});
index 81f8f120fe4b0629cedadb681daccf40f4913106..48496fae81fefe00f3ef1e42c176a2ec871971a5 100644 (file)
@@ -1,12 +1,6 @@
 Things to do to release a version of SCons:
 
-       Prepare CHANGES text
-
-       Prepare RELEASE notes
-
-       Read through the README.txt file for any updates
-
-       Build candidate packages
+       Build and test candidate packages
 
                test on Linux
 
@@ -26,6 +20,22 @@ Things to do to release a version of SCons:
                           cd scons-src-{version}
                           python runtest.py -a -x C:\Python15\scons.bat
 
+       Read through the README.txt file for any updates
+
+       Prepare src/CHANGES.txt
+
+               date -R the latest release
+
+               should be current if this has been updated as each
+               change went in.
+
+       Prepare src/RELEASE.txt
+
+               date -R the latest release
+
+               Can probably keep a lot of the existing text, read
+               it through to make sure it's okay and edit appropriately.
+
 
 
        END THE BRANCH (need more info)
index 15712776b4afc92d7662c46f99d1fd2650586d27..100710fc44428194b56bf1f351182c927c626235 100644 (file)
@@ -19,6 +19,8 @@
 .\" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 .\" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 .\"
+.\" __FILE__ __REVISION__ __DATE__ __DEVELOPER__
+.\"
 .TH SCONS 1 "December 2001"
 .SH NAME
 scons \- software constructor
index 36d84bfc93c6142570601f6d26c07cfa6cf31f9b..f24435bfbfd3e86525eb29c886c87ef5b240a5e5 100644 (file)
@@ -8,7 +8,7 @@
 
 
 
-RELEASE 0.02 - 
+RELEASE 0.02 - Sun, 23 Dec 2001 19:05:09 -0600
 
   From Charles Crain:
 
index e8aaf55e9f8a6022d138cdefac41b6489074bf01..53f338f6008b63d4dec599080fb85c2bc35c93ef 100644 (file)
@@ -51,7 +51,8 @@ See the RELEASE.txt file for notes about this specific release,
 including known problems.  See the CHANGES.txt file for a list of
 changes since the previous release.
 
-The scons.1 man page is included in this package.
+The scons.1 man page is included in this package, and contains a section
+of small examples for getting started using SCons.
 
 Additional documentation for SCons is available at:
 
index 1c20e26b5999ef7b39e9d9f9baaba6cdd7c51c39..168bcecf23291834121c14e1718a48dfe19e5912 100644 (file)
@@ -20,23 +20,27 @@ more effectively, please sign up for the scons-users mailing list at:
 
 
 
-RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
+RELEASE 0.02 - Sun, 23 Dec 2001 19:05:19 -0600
 
-  This is the initial alpha release of SCons.  This release contains a
-  lot of functionality, and owing to an extensive test suite, the SCons
-  team believes that this release is of sufficient quality that you can
-  use it for real work.
+  This is the second alpha release of SCons.  Please consult the
+  CHANGES.txt file for a list of specific changes since last release.
+
+  Owing to an extensive test suite, the SCons team believes that this
+  release is of sufficient quality that you can use it for real work,
+  despite the "alpha" label.
 
   Nevertheless, because this is an alpha release, heed the following
   disclaimers:
 
-    - Expect bugs.  Please report any bugs or other problems that you
-      find to our bug tracker at our SourceForge project page:
+    - Do not be surprised if there are bugs.  Please report any bugs
+      or other problems that you find to our bug tracker at our
+      SourceForge project page:
 
       http://sourceforge.net/tracker/?func=add&group_id=30337&atid=398971
 
       We have a reliable bug-fixing methodology already in place and
-      expect to respond to problems relatively quickly.
+      expect to respond to problems relatively quickly.  (We have fixed
+      9 out of 10 reported bugs in the eight days since release 0.01.)
 
     - It is possible that interfaces will change in future releases.  We
       will strive to hold this to a minimum, but you may need to modify
@@ -53,6 +57,14 @@ RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
       portions of the interface as we figured out what worked and what
       didn't during implementation.L
 
+    - There may be performance issues.  If you find the performance
+      unacceptable, we would like to hear from you and learn more
+      about your configuration so we can optimize the right things.
+
+    - Error messages don't always exist where they'd be helpful.
+      Please let us know about any errors you ran into that would
+      have benefitted from a (more) descriptive message.
+
   KNOWN PROBLEMS IN THIS RELEASE:
 
     - Support for parallel builds (-j) does not work on WIN32 systems
@@ -77,9 +89,6 @@ RELEASE 0.01 - Thu Dec 13 19:25:23 CST 2001
 
     - No support yet for the following future features:
 
-        - Separate build directories (BuildDir(), a.k.a. "Link" in
-         Cons classic)
-
         - Repository search paths (-Y)
 
        - Configurable signature calculation
index c0d151003a65fab40d88c98f1b4e9fbfa11fa8d7..e79a32c0c36948495756f9817f873e4e2264e153 100644 (file)
@@ -60,12 +60,9 @@ class my_install_lib(install_lib):
                 self.install_dir = os.path.join(head, tail)
                 return
 
-keywords = "scons, cons, make, build tool, make tool, software build tool, software construction tool"
-
 arguments = {
     'name'             : "scons",
     'version'          : "__VERSION__",
-    'keywords'         : keywords,
     'packages'         : ["SCons",
                           "SCons.Node",
                           "SCons.Scanner",