Commit Graph

21 Commits

Author SHA1 Message Date
tschaub
1108433465 Clarifying names. 2012-05-24 16:42:54 -06:00
tschaub
f5e49fa82e One fewer use of rsync. 2012-05-24 16:40:56 -06:00
tschaub
f7e0edca12 Fewer uses of rsync. 2012-05-24 16:34:15 -06:00
Tim Schaub
cadb20c18a Use clones of git repos for site building.
The svn interface to our repos on git is not behaving well.  This is resulting in the website, examples, and api docs not being updated when they should (`svn up` is not doing what it should).

Instead of using svn checkouts, we should use clones of the git repos.  At the same time, it makes sense to organize things a bit.  These changes depend on a new structure on the openlayers.org machine:

    /osgeo/openlayers/repos - clones of our openlayers, docs, and website repos
    /osgeo/openlayers/sites - sources for openlayers.org, dev.openlayers.org, and docs.openlayers.org

Where things are "built" (e.g. minifying js and modifying example markup to point to that js), changes are now made outside of the repo cleans.  Having dirty repos was another source of build failures.

Changes still need to be made to the release process/script.
2012-05-10 01:03:54 -06:00
Tim Schaub
f115c7a943 Use commit hash instead of (mock) svn rev.
When we upgraded to git, we didn't fully change over the way the website and examples are built.  The cron job that runs the update script only built the website & examples if the revision returned by the svn interface to the GitHub repo was different than the previously stored revision.  At some point, using `svn info` on the repo stopped being reliable.  For example, this is what I get when running this today (in 2012):

    svn info https://github.com/openlayers/openlayers/

    Path: openlayers
    URL: https://github.com/openlayers/openlayers
    Repository Root: https://github.com/openlayers/openlayers
    Repository UUID: d631b94f-4ba7-6298-eb8f-ce57b7db7bff
    Revision: 5488
    Node Kind: directory
    Last Changed Author: schuyler.erle
    Last Changed Rev: 5488
    Last Changed Date: 2006-05-12 12:35:22 -0700 (Fri, 12 May 2006)

(Last change looks like it was 6 years ago.)

We should be using a proper clone of the git repo and building the website and examples out of this.  Until then, we can at least use `git-ls-remote` to check what the latest HEAD from the canonical repo looks like.  This should get the website and examples building again (they stopped being updated a few weeks ago).
2012-05-09 19:48:51 -06:00
ahocevar
b683c9bae1 No csstidy, because it changes the css and breaks the zoom buttons. 2012-04-14 18:35:51 +02:00
Matt Priour
da1a79018a Build full, light & mobile minified & debug versions of OpenLayers during release & dev dir update process 2012-02-29 09:58:23 -06:00
ahocevar
c87a087429 updating update script to use git url for trunk 2011-11-07 23:13:40 +01:00
crschmidt
3c775ccc1a Update the website contents.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11895 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-04-20 03:37:24 +00:00
crschmidt
7ede83ad75 Fricking differences between os x and linux sed. This fixes the mobile
build for OpenLayers in our live examples.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@11550 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-26 22:08:23 +00:00
crschmidt
b0b297bccd Update the dev dir building script to take the '?mobile' flagged .js
files and use the mobile OL build on them.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@11538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-25 19:06:58 +00:00
crschmidt
be040c6614 Using CSS tidy to compress stylesheets on the dev site always, and to
include tidy-ified stylesheets in the released builds.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@11477 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-25 10:23:42 +00:00
crschmidt
876e0dfd81 Fix build script on python before 2.6, and update_dev_dir now compiles
with closure instead of jsmin.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@11449 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-24 23:48:24 +00:00
Tim Schaub
fa15785c96 Updating the update_dev_dir script to use the tests.cfg profile. This brings in lang and console utilities.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11175 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 12:01:39 +00:00
crschmidt
788b05c32f check SVN revision online rather than via 'svn up' and put svn up inside the
revision check loop.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@11164 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-21 10:33:59 +00:00
Tim Schaub
a736a44955 Reverting before update to avoid conflicts when examples are removed.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11150 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-20 15:24:08 +00:00
crschmidt
ca27481c66 The sandbox is now updated here as well, so check the most recent
rev for the whole tree instead of just that particular checkout.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@10520 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-07-27 12:55:25 +00:00
crschmidt
6adffe5be2 Add updating sandbox to script
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10502 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2010-07-20 15:27:13 +00:00
crschmidt
dd47a376aa change website build script to ix typo
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8724 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2009-01-21 12:54:31 +00:00
crschmidt
cc4446af86 add docs to build script
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8365 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-11-14 21:52:23 +00:00
crschmidt
447eaf2936 add smarter tool for updating the dev dir on OL.org in a better way. Specifically:
* Check whether the reision has changed
 * if it has:
   * rebuild the examples.js
   * Rebuild the singlefile, copy it
   * Change all the examples to use the singlefile
   * Record the most recent rev 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@7122 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-05-09 03:35:43 +00:00