incubator-pagespeed-mod
incubator-pagespeed-mod copied to clipboard
Distribute PSOL and mod_pagespeed as a source tarball.
I'm packaging pagespeed for multiple versions openSUSE. The steps I use for
building whenever a new release is out is:
- resync the sources from the svn tag using gclient
- create a bzipped archive of the whole source tree
- upload the archive + spec files to the openSUSE build service, where the
module is built for multiple openSUSE versions
If I generate the archive on an recent version of openSUSE then I can't build
the project on older versions of openSUSE, due to the svn client being to old
for the working copy
[ 70s] + python build/gyp_chromium -Duse_system_libs=1 -Duse_system_icu=1
-Dsystem_include_path_apr=/usr/include/apr-1
-Dsystem_include_path_httpd=/usr/include/apache2
-Dsystem_include_path_aprutil=/usr/include/apr-1
[ 70s] Updating projects from gyp files...
[ 72s] svn: E155021: This client is too old to work with the working copy at
[ 72s] '/home/abuild/rpmbuild/BUILD/src' (format 31).
[ 72s] You need to get a newer Subversion client. For more details, see
[ 72s] http://subversion.apache.org/faq.html#working-copy-format-change
[ 72s]
[ 72s] gyp: Call to '../build/lastchange.sh .. -d ../LASTCHANGE.in | cut -d
"=" -f 2' returned exit status 0.
[ 74s] error: Bad exit status from /var/tmp/rpm-tmp.9qDDwr (%prep)
It would be great if the call to lastchange.sh would be made independent of the
svn location or simply avoided altogether.
This would also allow me to remove the .svn directories from the archive,
cutting down on its size.
Original issue reported on code.google.com by robert.munteanu on 8 Aug 2014 at 1:28
FWIW, we actually have secret tarball releases for most versions we don't
really announce (partly because it's not clear how to document it well), e.g.:
https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.8.31.
4-r4009.tar.bz2
with signature at:
http://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.8.31.4
-r4009.tar.bz2.asc
Those are actually meant to build against system libraries for most stuff,
which is highly preferable (since you get security updates for free).
generate.sh is the dumb substitute for configure, though you need to
hand-specify some paths.
That also IIRC has a workaround for the lastchange thing: they include this:
cat src/LASTCHANGE.in
LASTCHANGE=4009
Original comment by [email protected] on 11 Aug 2014 at 2:25
> FWIW, we actually have secret tarball releases for most versions we don't
really announce (partly because it's not clear how to document it well), e.g.:
https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.8.31.
4-r4009.tar.bz2
Bingo!
If I can get a tarball instead of using gclient it would make my and other
packager's life much simplers.
Some notes/questions:
1. I think there's a typo in generate.sh
src/build/gyp_chromium -D use_system_libs=1 $*
note the extra space after -D
2. Does the '-beta' tag mean anything? I typically build the stable versions
3. Can you somehow announce the download links for each release? I would really
like to stop using gclient and just use the tarballs.
Original comment by robert.munteanu on 12 Aug 2014 at 1:12
1) Good point, but gyp doesn't seem to care...
2) It's not supposed to, in that stable should be built from identical
tag as a corresponding beta. The package build scripts should be the
only part that cares about it (the tarball script uses it for...
naming the tarball!), and I imagine you use your own .spec.
Hmm. The -r4009 number looks totally bogus, though. Wonder what's up with that.
The tarball looks identical minus the version compared to what I generated right
now to test.
3) I think that would be your call, Jeff?
Original comment by [email protected] on 12 Aug 2014 at 2:02
A little more detail on (2). Every release version (ex: 1.8.31.4) starts life
as a beta version. When a release has proved stable over a long time with no
issues we may re-release exactly the same code as stable. Not every beta
release becomes stable (1.8.31.[123] were never released as stable; we went
from stable 1.4 to stable 1.6 even though there were 1.5 betas, etc).
As for (3) I don't want to push these tarballs publicly until we know they
work. On the other hand, making them easy for you to use with SUSE makes it
easier for us to find out whether they work. For now, what would you think if
we just update this bug every time we make a release to post the new tarball
location? That way anyone downloading it has the context they need.
Original comment by [email protected] on 12 Aug 2014 at 2:21
> For now, what would you think if we just update this bug every time we make a
release to post the new tarball location?
Sounds good to me. I just pushed a build to the openSUSE repos based on the
1.8.30.4 tarball, and locally the build succeeded.
Original comment by robert.munteanu on 12 Aug 2014 at 3:07
Original comment by [email protected] on 20 Aug 2014 at 1:11
- Changed title: Distribute PSOL and mod_pagespeed as a source tarball.
- Changed state: Started
Hi,
Now that 1.8.31.5 is out do you have a new tarball I can use for building?
Thanks
Original comment by robert.munteanu on 30 Oct 2014 at 9:02
Sure!
https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.9.32.
2-r4321.tar.bz2
Original comment by [email protected] on 31 Oct 2014 at 2:13
Sorry, that's not the tarball you wanted. That's 1.9.32.2. I don't see that
one got uploaded for 1.8.31.5. We'll prepare that and push it out.
Original comment by [email protected] on 31 Oct 2014 at 2:15
[deleted comment]
whoops, copied the link wrong the first time
tarball and signature.
http://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.8.
31.5-r4307.tar.bz2
http://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.8.
31.5-r4307.tar.bz2.asc
Sorry for the delay,
Jeff
Original comment by [email protected] on 31 Oct 2014 at 8:13
The 1.8.31.5 tarball worked perfectly, thank you!
Original comment by robert.munteanu on 31 Oct 2014 at 10:39
Can you please add a link for the latest stable release?
latest stable: https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.4-r7251.tar.bz2
signature: https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.4-r7251.tar.bz2.asc
latest beta: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.9.32.6-r7321.tar.bz2
signature: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.9.32.6-r7321.tar.bz2.asc
Thanks!
Hello, could you please provide link for 1.9.32.8?
Thanks!
@pgajdos 1.9.32.8 is a "pre-release" meant for testing (not an official signed release yet). you can download the source tarball here though
https://github.com/pagespeed/mod_pagespeed/releases/download/1.9.32.8/mod-pagespeed-beta-1.9.32.8-r7388.tar.bz2
@crowell, thank you; could you please provide link for 1.9.32.8 final when done?
@pgajdos @rombert the source tarball is available here https://github.com/pagespeed/mod_pagespeed/releases/tag/1.9.32.10
@crowell - packaging now ( as I typically wait for the stable version ). BTW, the link is incorrect - https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-stable-1.9.32.10-r7443.tar.bz2 ; replace beta with stable and it works
@rombert thanks for the catch, updated.
1.10.33.0:
- tarball: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.0-r7562.tar.bz2
- sig: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.0-r7562.tar.bz2.asc
1.10.33.1:
- tarball: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.1-r7580.tar.bz2
- sig: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.1-r7580.tar.bz2.asc
1.10.33.2:
- tarball: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.2-r7599.tar.bz2
- sig: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.2-r7599.tar.bz2.asc
1.9.32.13:
- https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.13-r0.tar.bz2
- https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.13-r0.tar.bz2.asc
1.10.33.4:
- tarball: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.4-r0.tar.bz2
- sig: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.4-r0.tar.bz2.asc
1.10.33.7
- tarball: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.7-r0.tar.bz2
- sig: https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.10.33.7-r0.tar.bz2.asc
1.9.32.14
- https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.14-r0.tar.bz2
- https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.9.32.14-r0.tar.bz2.asc
1.11.33.0
- https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.0-r0.tar.bz2
- https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.0-r0.tar.bz2.asc
https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.1-r0.tar.bz2 https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.1-r0.tar.bz2.asc
https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.11.33.1-r0.tar.bz2 https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.11.33.1-r0.tar.bz2.asc
are the latest sources for the 1.11.33.1
https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.2-r0.tar.bz2 https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.2-r0.tar.bz2.asc
https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.11.33.2-r0.tar.bz2 https://dl.google.com/dl/linux/mod-pagespeed/tar/stable/mod-pagespeed-stable-1.11.33.2-r0.tar.bz2.asc
sorry for the delay on this one.
https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.3-r0.tar.bz2 https://dl.google.com/dl/linux/mod-pagespeed/tar/beta/mod-pagespeed-beta-1.11.33.3-r0.tar.bz2.asc