"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "shipper" between
shipper-1.17.tar.gz and shipper-1.18.tar.gz

About: shipper automates the tedious process of shipping a software release to several standard places (like SourceForge, Savannah) and also knows how to post a release announcement to freecode.

shipper  (shipper-1.17):shipper  (shipper-1.18)
skipping to change at line 19 skipping to change at line 19
from __future__ import print_function from __future__ import print_function
import sys, os, re, subprocess, time, glob, argparse, stat, email.utils, cgi, co py import sys, os, re, subprocess, time, glob, argparse, stat, email.utils, cgi, co py
try: try:
from twython import Twython, TwythonError from twython import Twython, TwythonError
tweet_capable = True tweet_capable = True
except ImportError: except ImportError:
tweet_capable = False tweet_capable = False
shipper_version = "1.17" shipper_version = "1.18"
# See https://codetheweb.blog/2017/12/05/css-flexboxes/ # See https://codetheweb.blog/2017/12/05/css-flexboxes/
DEFAULT_HTML_TEMPLATE = """\ DEFAULT_HTML_TEMPLATE = """\
<!doctype html> <!doctype html>
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta name='description' content='Resource page for %(project)s' /> <meta name='description' content='Resource page for %(project)s' />
<meta name='generator' content='shipper' /> <meta name='generator' content='shipper' />
<meta name='description' content='%(summary)s'/> <meta name='description' content='%(summary)s'/>
<title>Resource page for %(project)s %(version)s</title> <title>Resource page for %(project)s %(version)s</title>
skipping to change at line 1130 skipping to change at line 1130
upload(destination, web_deliverables) upload(destination, web_deliverables)
# We need a relized tag name ffor both tagging and GitLab release # We need a relized tag name ffor both tagging and GitLab release
tag_name = shipper.tag_template % shipper.__dict__ tag_name = shipper.tag_template % shipper.__dict__
# Igor can just grab the first tarball it sees # Igor can just grab the first tarball it sees
if "payload" in phases and options.gitlab_igor and shipper.igor_payload(): if "payload" in phases and options.gitlab_igor and shipper.igor_payload():
for filename in os.listdir("."): for filename in os.listdir("."):
for (regexp, explanation, tag, bulky) in deliverable_types: for (regexp, explanation, tag, bulky) in deliverable_types:
if regexp.search(filename) and "tarball" in explanation: if regexp.search(filename) and "tarball" in explanation:
print("igor.py 'upload path=%s' 'release name=%s' 'tag=%s' n otes=/dev/stdin <<EOF\n%s\nEOF\n" % (filename, tag_name, tag_name, shipper.lastc hange)) print("igor.py 'upload path=%s' 'release name=%s tag=%s note s=/dev/stdin' <<EOF\n%s\nEOF\n" % (filename, tag_name, tag_name, shipper.lastcha nge))
if "tagging" in phases: if "tagging" in phases:
# Tag the release # Tag the release
if shipper.tag_template and shipper.tag_message: if shipper.tag_template and shipper.tag_message:
tag_message = shipper.tag_message % shipper.__dict__ tag_message = shipper.tag_message % shipper.__dict__
context = shipper.__dict__.copy() context = shipper.__dict__.copy()
context.update(locals()) context.update(locals())
# If we're in the trunk of an SVN repository, we want to tag # If we're in the trunk of an SVN repository, we want to tag
# what just got shipped as an external release. # what just got shipped as an external release.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)