Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: sitescripts/extensions/bin/createNightlies.py

Issue 29323481: Issue 2898 - Stop updating our update manifest for Firefox development builds (Closed)
Patch Set: Created Aug. 12, 2015, 12:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # coding: utf-8 1 # coding: utf-8
2 2
3 # This file is part of the Adblock Plus web scripts, 3 # This file is part of the Adblock Plus web scripts,
4 # Copyright (C) 2006-2015 Eyeo GmbH 4 # Copyright (C) 2006-2015 Eyeo GmbH
5 # 5 #
6 # Adblock Plus is free software: you can redistribute it and/or modify 6 # Adblock Plus is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License version 3 as 7 # it under the terms of the GNU General Public License version 3 as
8 # published by the Free Software Foundation. 8 # published by the Free Software Foundation.
9 # 9 #
10 # Adblock Plus is distributed in the hope that it will be useful, 10 # Adblock Plus is distributed in the hope that it will be useful,
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 self.readSafariMetadata() 565 self.readSafariMetadata()
566 else: 566 else:
567 self.readGeckoMetadata() 567 self.readGeckoMetadata()
568 568
569 # create development build 569 # create development build
570 self.build() 570 self.build()
571 571
572 # write out changelog 572 # write out changelog
573 self.writeChangelog(self.getChanges()) 573 self.writeChangelog(self.getChanges())
574 574
575 # write update.rdf file 575 # write update manifest
576 self.writeUpdateManifest() 576 if self.config.type != 'gecko':
577 self.writeUpdateManifest()
577 578
578 # update documentation 579 # update documentation
579 self.updateDocs() 580 self.updateDocs()
580 581
581 # retire old builds 582 # retire old builds
582 versions = self.retireBuilds() 583 versions = self.retireBuilds()
583 584
584 if self.config.type == 'ie': 585 if self.config.type == 'ie':
585 self.writeIEUpdateManifest(versions) 586 self.writeIEUpdateManifest(versions)
586 587
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 except Exception, ex: 622 except Exception, ex:
622 logging.error("The build for %s failed:", repo) 623 logging.error("The build for %s failed:", repo)
623 logging.exception(ex) 624 logging.exception(ex)
624 625
625 file = open(nightlyConfigFile, 'wb') 626 file = open(nightlyConfigFile, 'wb')
626 nightlyConfig.write(file) 627 nightlyConfig.write(file)
627 628
628 629
629 if __name__ == '__main__': 630 if __name__ == '__main__':
630 main() 631 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld