Skip to content

Commit c66281c

Browse files
Merge pull request #98 from klehman-rally/master
accommodate fully qualified Project name to disambiguate duplicately named projects, fix minor bug not using MAX_PAGESIZE universally.
2 parents 9e788c8 + eb36b53 commit c66281c

37 files changed

+620
-138
lines changed

MANIFEST

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ examples/defrevs.py
2929
examples/add_tcrs.py
3030
examples/updtag.py
3131
examples/addtags.py
32+
examples/allowedValues.py
33+
examples/get_milestones.py

PKG-INFO

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Metadata-Version: 1.1
22
Name: pyral
3-
Version: 1.2.1
3+
Version: 1.2.2
44
Summary: Python toolkit for Rally REST API
55
Home-page: https://github.com/RallyTools/RallyRestToolkitForPython
66
Author: Kip Lehman (Rally Software Development)
77
License: BSD
8-
Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dist/pyral-1.2.1.zip
8+
Download-URL: https://github.com/RallyTools/RallyRestToolkitForPython/raw/master/dist/pyral-1.2.2.zip
99
Description: This is the README file for pyral, a package implementing a
1010
Pythonic interface to the Rally REST API
1111

@@ -28,7 +28,7 @@ Description: This is the README file for pyral, a package implementing a
2828
The pyral package requires the use of Kenneth Reitz's requests package using version 2.0.0 or better.
2929
As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
3030
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
31-
The most recent release of pyral (1.2.1) has been tested with requests 2.8.1.
31+
The most recent release of pyral (1.2.2) has been tested with requests 2.8.1.
3232
The six module is also required.
3333

3434

README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Obtain the requests_ package and install it according to that package's directio
3939
As of requests-2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
4040
Use of requests-2.x or better is recommended for use with pyral.
4141
The requests_ package can be found via the Python Package Index site (http://pypi/python.org/index).
42-
The most recent release of pyral (1.2.1) has been tested using requests 2.8.1.
42+
The most recent release of pyral (1.2.2) has been tested using requests 2.8.1.
4343

4444
Obtain and install the six_ module (available from PyPI at https://pypi.python.org/pypi/six)
4545

@@ -67,7 +67,7 @@ relevant packages.
6767
>> import requests
6868
>> import pyral
6969
>> pyral.__version__
70-
(1, 2, 1)
70+
(1, 2, 2)
7171

7272

7373

@@ -274,6 +274,12 @@ Prerequisites
274274
Versions
275275
--------
276276

277+
**1.2.2**
278+
Allow for disambiguating Project amongst name duplications by means of using fully qualified path.
279+
Incorporated suggestion on preserving case name of custom PortfolioItem sub-item.
280+
Fixed discrepancy of docs versus code on default pagesize, now is actually 200 everywhere.
281+
Fix location of download package in GitHub repo.
282+
277283
**1.2.1**
278284
Added mention that the six package is required.
279285
Fixed context setup for proper handling when a user has no default workspace/project settings.

README.short

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Requirements
2020
The pyral package requires the use of Kenneth Reitz's requests package using version 2.0.0 or better.
2121
As of requests version 2.0.0, there is support for HTTPS over HTTP proxy via the CONNECT request.
2222
The requests package can be found via the Python Package Index site (http://pypi/python.org/index).
23-
The most recent release of pyral (1.2.1) has been tested with requests 2.8.1.
23+
The most recent release of pyral (1.2.2) has been tested with requests 2.8.1.
2424
The six module is also required.
2525

2626

build_dist.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
import sys, os
1010
import tarfile
1111
import zipfile
12+
import shutil
1213
import re
1314

1415
PACKAGE_NAME = "pyral"
15-
VERSION = "1.2.1"
16+
VERSION = "1.2.2"
1617

1718
AUX_FILES = ['MANIFEST.in',
1819
'PKG-INFO',
@@ -37,6 +38,7 @@
3738
'builddefs.py',
3839
'creattach.py',
3940
'get_attachments.py',
41+
'get_milestones.py',
4042
'get_schedulable_artifacts.py',
4143
'add_tcrs.py',
4244
'defrevs.py',
@@ -100,6 +102,24 @@ def main(args):
100102
reduction_pct = int(reduction_fraction * 100)
101103
print("%-52.52s %6d (%2d%%)" % (info.filename, info.compress_size, reduction_pct))
102104

105+
# got to use Python 2.7 to be able to run python setup.py bdist_wheel
106+
os.system('/usr/local/bin/python setup.py bdist_wheel')
107+
wheel_file = "pyral-%s-py2.py3-none-any.whl" % VERSION
108+
# the wheel_file gets written into the dist subdir by default, no need for a copy...
109+
110+
store_packages('dist', [tarball])
111+
store_packages('dists', [tarball, zipped])
112+
113+
################################################################################
114+
115+
def store_packages(subdir, files):
116+
for file in files:
117+
if os.path.exists(file):
118+
shutil.copy(file, '%s/%s' % (subdir, file))
119+
else:
120+
problem = "No such file found: {0} to copy into {1}".format(file, subdir)
121+
sys.stderr.write(problem)
122+
103123
################################################################################
104124

105125
def package_meta(filename):
71.4 KB
Binary file not shown.

dist/pyral-1.2.2.tar.gz

944 KB
Binary file not shown.

dists/pyral-1.2.2.tar.gz

944 KB
Binary file not shown.

dists/pyral-1.2.2.zip

322 KB
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)