Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 82 lines (58 sloc) 3.099 kb
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
1 # Nocturnal #
2
3 Nocturnal is a simple Python scraper script that crawls Mozilla's Nightly
4eb756b @tofumatt Add info for deployment
tofumatt authored
4 FTP folders to build [nightly.mozilla.org][nightly].
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
5 This repo contains all the resources to build all Nightly pages.
6
7 You'll need to run the scraper script from a machine with an Internet
8 connection.
9
8951b8c @tallowen Add setup section to README
tallowen authored
10 ## Setup ##
11
12 Make sure you grab all the submodules.
13
14 git clone --recursive https://github.com/mozilla/nocturnal.git
15
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
16 ## Usage ##
17
18 Specify an output directory (it shouldn't be the same directory as the
19 repo) and allow a few seconds for the script to scrape Mozilla's FTP
20 server.
21
22 ./scrape.py --output-dir html
23
4eb756b @tofumatt Add info for deployment
tofumatt authored
24 ## Deploy ##
25
26 To deploy nocturnal to [nightly.mozilla.org][nightly], you'll need to file
27 a bug in [Bugzilla][] under "Server Operations". Simply ask to deploy the
28 latest version of nightly.mozilla.org by pulling the new version from git
29 and running the deploy script.
30
31 The `scrape.py` command is run (every hour I believe) on the server, but to
32 update the site from git you'll need to file this bug.
33
1ba8e1b @tofumatt Add example bug to README
tofumatt authored
34 An example bug is here: https://bugzilla.mozilla.org/show_bug.cgi?id=1096271
35
4eb756b @tofumatt Add info for deployment
tofumatt authored
36 [Bugzilla]: https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org
4494e7e @tofumatt Fix links in README
tofumatt authored
37 [nightly]: https://nightly.mozilla.org/
4eb756b @tofumatt Add info for deployment
tofumatt authored
38
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
39 License
40 -------
41 This software is licensed under the [Mozilla Tri-License][MPL]:
42
43 ***** BEGIN LICENSE BLOCK *****
44 Version: MPL 1.1/GPL 2.0/LGPL 2.1
45
46 The contents of this file are subject to the Mozilla Public License Version
47 1.1 (the "License"); you may not use this file except in compliance with
48 the License. You may obtain a copy of the License at
49 http://www.mozilla.org/MPL/
50
51 Software distributed under the License is distributed on an "AS IS" basis,
52 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
53 for the specific language governing rights and limitations under the
54 License.
55
bc2e959 @tofumatt Fix copy/paste silliness from Input README
tofumatt authored
56 The Original Code is Nocturnal.
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
57
58 The Initial Developer of the Original Code is Mozilla.
bc2e959 @tofumatt Fix copy/paste silliness from Input README
tofumatt authored
59 Portions created by the Initial Developer are Copyright (C) 2009
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
60 the Initial Developer. All Rights Reserved.
61
62 Contributor(s):
bc2e959 @tofumatt Fix copy/paste silliness from Input README
tofumatt authored
63 Rob Sayre <sayrer@gmail.com>
64 Gavin Sharp
65 Matthew Riley MacPherson <tofumatt@mozilla.com>
d3875e9 @tofumatt Add a README file and rebuild script for devs
tofumatt authored
66
67 Alternatively, the contents of this file may be used under the terms of
68 either the GNU General Public License Version 2 or later (the "GPL"), or
69 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
70 in which case the provisions of the GPL or the LGPL are applicable instead
71 of those above. If you wish to allow use of your version of this file only
72 under the terms of either the GPL or the LGPL, and not to allow others to
73 use your version of this file under the terms of the MPL, indicate your
74 decision by deleting the provisions above and replace them with the notice
75 and other provisions required by the GPL or the LGPL. If you do not delete
76 the provisions above, a recipient may use your version of this file under
77 the terms of any one of the MPL, the GPL or the LGPL.
78
79 ***** END LICENSE BLOCK *****
80
81 [MPL]: http://www.mozilla.org/MPL/
Something went wrong with that request. Please try again.