Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #36 from glogiotatidis/contributejson

Add contribute.json.
  • Loading branch information...
commit 87178fcfa93448a3e55e02176cb21eb95a867671 2 parents f77f682 + 3ec64ce
@tofumatt tofumatt authored
Showing with 33 additions and 0 deletions.
  1. +29 −0 contribute.json
  2. +4 −0 scrape.py
View
29 contribute.json
@@ -0,0 +1,29 @@
+{
+ "name": "Nocturnal",
+ "description": "Builds nightly.mozilla.org",
+ "repository": {
+ "url": "https://github.com/mozilla/nocturnal",
+ "license": "MPL1.1",
+ "clone": "https://github.com/mozilla/nocturnal.git"
+ },
+ "participate": {
+ "home": "https://github.com/mozilla/nocturnal",
+ "docs": "https://github.com/mozilla/nocturnal/blob/master/README.markdown",
+ "mailing-list": "https://www.mozilla.org/about/forums/#dev-mozilla-org",
+ "irc": "irc://irc.mozilla.org/#webdev",
+ "irc-contacts": [
+ "tofumatt"
+ ]
+ },
+ "bugs": {
+ "list": "https://bugzilla.mozilla.org/buglist.cgi?list_id=12004351&short_desc=nocturnal%20nightly.mozilla.org&query_format=advanced&short_desc_type=anywordssubstr&component=other.mozilla.org&product=Websites",
+ "report": "https://bugzilla.mozilla.org/enter_bug.cgi?product=Websites&component=other.mozilla.org"
+ },
+ "urls": {
+ "prod": "https://nightly.mozilla.org"
+ },
+ "keywords": [
+ "python",
+ "scraper"
+ ]
+}
View
4 scrape.py
@@ -297,6 +297,10 @@ def main():
shutil.copyfile(os.path.join(django_moz_header, f),
os.path.join(CURRENT_PATH, OUTPUT_PATH, 'img', f))
+ # Copy contribute.json
+ shutil.copyfile(os.path.join(CURRENT_PATH, 'contribute.json'),
+ os.path.join(CURRENT_PATH, OUTPUT_PATH, 'contribute.json'))
+
write_output(OUTPUT_PATH, 'index.html', template.render({'files': files}))
Please sign in to comment.
Something went wrong with that request. Please try again.