webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Classes | |
class | SFTPError |
class | SVNError |
Functions | |
def | set_version (version) |
def | rmdir_if_exist (dir_path) |
def | svn_command (command, args) |
def | check_no_pending_commit () |
def | svn_join_url (base_url, suffix) |
def | svn_check_if_tag_exist (tag_url) |
def | svn_commit (message) |
def | svn_tag_sandbox (tag_url, message) |
def | svn_remove_tag (tag_url, message) |
def | svn_export (tag_url, export_dir) |
def | fix_sources_eol (dist_dir) |
def | download (url, target_path) |
def | check_compile (distcheck_top_dir, platform) |
def | write_tempfile (content, kwargs) |
def | run_sftp_batch (userhost, sftp, batch, retry=0) |
def | sourceforge_web_synchro (sourceforge_project, doc_dir, user=None, sftp='sftp') |
def | sourceforge_release_tarball (sourceforge_project, paths, user=None, sftp='sftp') |
def | main () |
Tag the sandbox for release, make source and doc tarballs. Requires Python 2.6 Example of invocation (use to test the script): python makerelease.py --platform=msvc6,msvc71,msvc80,msvc90,mingw -ublep 0.6.0 0.7.0-dev When testing this script: python makerelease.py --force --retag --platform=msvc6,msvc71,msvc80,mingw -ublep test-0.6.0 test-0.6.1-dev Example of invocation when doing a release: python makerelease.py 0.5.0 0.6.0-dev
def makerelease.check_compile | ( | distcheck_top_dir, | |
platform | |||
) |
def makerelease.check_no_pending_commit | ( | ) |
Checks that there is no pending commit in the sandbox.
def makerelease.download | ( | url, | |
target_path | |||
) |
Download file represented by url to target_path.
def makerelease.fix_sources_eol | ( | dist_dir | ) |
Set file EOL for tarball distribution.
def makerelease.main | ( | void | ) |
def makerelease.rmdir_if_exist | ( | dir_path | ) |
def makerelease.run_sftp_batch | ( | userhost, | |
sftp, | |||
batch, | |||
retry = 0 |
|||
) |
def makerelease.set_version | ( | version | ) |
def makerelease.sourceforge_release_tarball | ( | sourceforge_project, | |
paths, | |||
user = None , |
|||
sftp = 'sftp' |
|||
) |
def makerelease.sourceforge_web_synchro | ( | sourceforge_project, | |
doc_dir, | |||
user = None , |
|||
sftp = 'sftp' |
|||
) |
Notes: does not synchronize sub-directory of doc-dir.
def makerelease.svn_check_if_tag_exist | ( | tag_url | ) |
Checks if a tag exist. Returns: True if the tag exist, False otherwise.
def makerelease.svn_command | ( | command, | |
args | |||
) |
def makerelease.svn_commit | ( | message | ) |
Commit the sandbox, providing the specified comment.
def makerelease.svn_export | ( | tag_url, | |
export_dir | |||
) |
Exports the tag_url revision to export_dir. Target directory, including its parent is created if it does not exist. If the directory export_dir exist, it is deleted before export proceed.
def makerelease.svn_join_url | ( | base_url, | |
suffix | |||
) |
def makerelease.svn_remove_tag | ( | tag_url, | |
message | |||
) |
Removes an existing tag.
def makerelease.svn_tag_sandbox | ( | tag_url, | |
message | |||
) |
Makes a tag based on the sandbox revisions.
def makerelease.write_tempfile | ( | content, | |
kwargs | |||
) |
bool makerelease.all_build_status = True |
makerelease.amalgamation_dir = 'dist/amalgamation' |
string makerelease.amalgamation_tarball_path = 'dist/%s-amalgamation.tar.gz' % source_dir |
makerelease.build_status |
string makerelease.distcheck_dir = 'dist/distcheck' |
string makerelease.distcheck_top_dir = distcheck_dir + '/' + source_dir |
makerelease.doc_dirname |
string makerelease.doc_distcheck_dir = 'dist/doccheck' |
makerelease.doc_distcheck_top_dir = os.path.join( doc_distcheck_dir, doc_dirname ) |
makerelease.doc_tarball_path |
doc_dirname = r'jsoncpp-api-html-0.5.0' doc_tarball_path = r'e:-trunk\dist\jsoncpp-api-html-0.5.0.tar.gz'
makerelease.export_dir = 'dist/export' |
makerelease.log_path |
makerelease.make_release |
makerelease.options |
makerelease.prefix_dir |
string makerelease.scons_local_path = 'dist/scons-local.tar.gz' |
string makerelease.SCONS_LOCAL_URL = 'http://sourceforge.net/projects/scons/files/scons-local/1.2.0/scons-local-1.2.0.tar.gz/download' |
makerelease.sftp |
string makerelease.source_tarball_path = 'dist/%s.tar.gz' % source_dir |
makerelease.SOURCEFORGE_PROJECT = 'jsoncpp' |
string makerelease.SVN_ROOT = 'https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/' |
makerelease.user |