Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
62b567d
flake8 fixes (lots)
Apr 7, 2016
d2c6a1a
Split up documentation into multiple pages
jwodder Apr 11, 2016
690e157
Add section headers for each class in the API docs
jwodder Apr 11, 2016
15a46cd
Make the sections numbered again
jwodder Apr 11, 2016
daf8f01
Added docs badge
ssbarnea Apr 17, 2016
6569a04
Switched to smart versioning for develop branch
Apr 20, 2016
33f3505
Fixed linting and enabled build of develop branch pn travis.
Apr 20, 2016
19eff54
Experimental change for testing error handling.
Apr 20, 2016
a1787ae
Allows us to call delete_project() with Project object instance.
Apr 20, 2016
c344cf0
Attempt to fix travis publishing and the missing URLs for the uploade…
Apr 21, 2016
ac853b7
Fixed two broken tests and many other warnings.
Apr 21, 2016
2867ab8
travis: Remove `on` inside afte_deploy as is not supported.
Apr 22, 2016
41c7622
flake8 fixes
Apr 22, 2016
7100873
Switched to local travis_after_all.py
Apr 22, 2016
ce9699d
Update index.rst
djonsson Apr 22, 2016
e1e3dd2
Resolved #137 by removing the check for project key from the client app.
Apr 22, 2016
3005def
Merge pull request #192 from djonsson/develop
ssbarnea Apr 22, 2016
b735103
Added requires.io badge
Apr 25, 2016
705ce0d
Merge branch 'develop' of github.com:pycontribs/jira into develop
Apr 25, 2016
3435cea
ci maintenance
Apr 30, 2016
3748fa9
updated and moved requirements into one place
Apr 30, 2016
de0c172
Fixed assert in test_search_users_maxresults
Apr 30, 2016
09d76fd
Removed requests-kerberos requirements as it was breaking docs
Apr 30, 2016
a75c8de
Log JiraError details on console for Travis
May 1, 2016
a1acae5
Attempt to keep py26 compatibility.
May 1, 2016
6572d6f
Simplified setup Exception code in tests
May 1, 2016
a367d3a
Sorted the project name duplication error with the tests
May 1, 2016
336ed1a
Merge remote-tracking branch 'upstream/develop' into develop
jwodder May 1, 2016
c1e0333
Merge pull request #187 from jwodder/develop
ssbarnea May 1, 2016
8cbe765
Added virtualenv usage to Makefile
May 2, 2016
948fa42
Merge branch 'develop' of github.com:pycontribs/jira into develop
May 2, 2016
0c2900d
Adopted django versioning implementaion
May 2, 2016
16a1a99
Added docset building to the documentation build.
May 2, 2016
6c5e03e
Add documentation for watchers.
grundic May 4, 2016
008a52c
Add documentation for attachments.
grundic May 4, 2016
7b533b0
Merge pull request #196 from grundic/documentation_improvement
ssbarnea May 6, 2016
09743ca
Fix #157
jwodder May 12, 2016
0564601
Delete Issue Link Bug Fix
dilshanraja May 15, 2016
4baf3ab
Merge pull request #201 from dilshanraja/develop
ssbarnea May 15, 2016
5deeea5
Merge pull request #199 from jwodder/develop
ssbarnea May 15, 2016
48264e6
Fix #194 Exception AttributeError: "'NoneType' object has no attribut…
May 20, 2016
ff5b9f2
Added template_name parameter to create_project to be able to specify…
Jun 1, 2016
ca6cec9
Resolves issue #221, 'Allow for deactivating users'
guymatz-jcrew Jun 3, 2016
f26aa84
Merge pull request #210 from arthur-kovalenko/develop
ssbarnea Jun 4, 2016
a865515
Merge pull request #207 from tlvu/develop
ssbarnea Jun 4, 2016
e0c0603
Improve auto-generated changelog
naiquevin Jun 4, 2016
977041b
Merge pull request #217 from guymatz/feature/deactivate_user
ssbarnea Jun 7, 2016
de75cc1
Merge pull request #215 from naiquevin/better-changelog
ssbarnea Jun 7, 2016
dca5cf1
Fix tox errors for py2.7
livenson Jun 7, 2016
5c8e30b
Fix mock data setup
livenson Jun 7, 2016
21d20ff
Do not use Make for running tests, seems to cause timeout
livenson Jun 7, 2016
1dda8b9
Merge pull request #218 from livenson/develop
ssbarnea Jun 7, 2016
7aa5743
Fixes to get 'python setup.py develop' working
lechat Jun 8, 2016
c8b3acb
Change http://pypi.python.org to https://pypi.python.org.
dbaxa Jun 22, 2016
2b44557
Do not check for a newer version of the software by default.
dbaxa Jun 22, 2016
20fd7d8
Merge pull request #231 from dbaxa/do-not-check-for-newer-version-by-…
ssbarnea Jun 24, 2016
2f66562
Merge pull request #230 from dbaxa/link-to-and-access-pypi-using-https
ssbarnea Jun 24, 2016
418493f
Merge pull request #227 from lechat/install_version_fix
ssbarnea Jun 24, 2016
c4ffd02
add ability to use request session proxy functionality
avinson Jun 26, 2016
5e8922b
Merge pull request #233 from pycontribs/master
ssbarnea Jun 28, 2016
1c2989e
Merge pull request #232 from lendup/develop
ssbarnea Jun 28, 2016
63bd75a
Assured that we use stdout/stderr capture and a flake8 fix.
Jun 28, 2016
37b88c3
Removed Python 2.6
Jun 28, 2016
73bb2c7
Configured to use autopep8 as a module in order to work with venvs.
Jun 28, 2016
43a9b6c
removed cloud options from backup methods in favor of checking for de…
Jul 8, 2016
eb63382
removed cloud options from backup methods in favor of checking for de…
Jul 8, 2016
d2f9a14
Merge branch 'feature/gmatz/issue_234' of github.com:guymatz/jira int…
Jul 8, 2016
0ce4195
Fixed delete_project and added tests for it
lechat Jul 9, 2016
e54e40e
Added named parameter to skip test project creation
lechat Jul 9, 2016
069a599
Removed partial init of JiraTestManager as this breaks a lot of tests
lechat Jul 9, 2016
6ac4ae4
Merge pull request #237 from lechat/test_client
lechat Jul 12, 2016
4983cba
Merge pull request #235 from guymatz/feature/gmatz/issue_234
ssbarnea Jul 12, 2016
5522594
Moved more build logic into Makefile
ssbarnea Jul 24, 2016
9499ec5
Fixes #214
lukehankins Jul 29, 2016
e25ea48
Adding a test for #214
lukehankins Jul 29, 2016
d9e52be
Updated requirements
ssbarnea Aug 7, 2016
ad2302b
Fixed detection of package name and version for Travis
ssbarnea Aug 7, 2016
4a727c4
Downgrated wheel version requirement.
ssbarnea Aug 8, 2016
a4f3959
tried to preinstall requirements on travis.
ssbarnea Aug 8, 2016
949399a
Temporarly removed gitchangelog and enabled s3 upload of artefacts.
ssbarnea Aug 8, 2016
1ab6709
Removed tlslite requirement completly.
ssbarnea Aug 12, 2016
6d918ce
We shouldn't create files unless we're told to do so
gmmeyer Aug 16, 2016
ead09b1
Merge pull request #252 from DataDog/tempfile-logging
ssbarnea Aug 17, 2016
695fcea
Merge pull request #241 from lukehankins/develop
ssbarnea Aug 17, 2016
f2910e0
made kerberos mutual auth optional as not all servers support this
izapolsk Sep 30, 2016
37eafd2
Merge pull request #265 from izapolsk/mauth
ssbarnea Oct 6, 2016
c65fc58
Use context processor for opening files
fancysnake Oct 19, 2016
d3242a3
flake8 fix for FileNotFoundError and added gitreview file.
ssbarnea Oct 21, 2016
b8bd50c
Fix sphinx documentation not rendered correctly
sanecz Oct 31, 2016
fd49943
Merge pull request #273 from sanecz/develop
Achimh3011 Oct 31, 2016
2aad329
Merge pull request #271 from radowit/develop
lechat Nov 3, 2016
743081e
Fixed test execution.
ssbarnea Nov 10, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 180 additions & 0 deletions .gitchangelog.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
##
## Format
##
## ACTION: [AUDIENCE:] COMMIT_MSG [!TAG ...]
##
## Description
##
## ACTION is one of 'chg', 'fix', 'new'
##
## Is WHAT the change is about.
##
## 'chg' is for refactor, small improvement, cosmetic changes...
## 'fix' is for bug fixes
## 'new' is for new features, big improvement
##
## AUDIENCE is optional and one of 'dev', 'usr', 'pkg', 'test', 'doc'
##
## Is WHO is concerned by the change.
##
## 'dev' is for developpers (API changes, refactors...)
## 'usr' is for final users (UI changes)
## 'pkg' is for packagers (packaging changes)
## 'test' is for testers (test only related changes)
## 'doc' is for doc guys (doc only changes)
##
## COMMIT_MSG is ... well ... the commit message itself.
##
## TAGs are additionnal adjective as 'refactor' 'minor' 'cosmetic'
##
## They are preceded with a '!' or a '@' (prefer the former, as the
## latter is wrongly interpreted in github.) Commonly used tags are:
##
## 'refactor' is obviously for refactoring code only
## 'minor' is for a very meaningless change (a typo, adding a comment)
## 'cosmetic' is for cosmetic driven change (re-indentation, 80-col...)
## 'wip' is for partial functionality but complete subfunctionality.
##
## Example:
##
## new: usr: support of bazaar implemented
## chg: re-indentend some lines !cosmetic
## new: dev: updated code to be compatible with last version of killer lib.
## fix: pkg: updated year of licence coverage.
## new: test: added a bunch of test around user usability of feature X.
## fix: typo in spelling my name in comment. !minor
##
## Please note that multi-line commit message are supported, and only the
## first line will be considered as the "summary" of the commit message. So
## tags, and other rules only applies to the summary. The body of the commit
## message will be displayed in the changelog without reformatting.


##
## ``ignore_regexps`` is a line of regexps
##
## Any commit having its full commit message matching any regexp listed here
## will be ignored and won't be reported in the changelog.
##
ignore_regexps = [
# ignore trivial fixes
r'Auto-generating.*',
r'spelling|typo',
r'bump.*version',
# all merged commits in the PR will appear in changelog anyway so
# the PR merge commit is not needed.
r'Merge pull request #\d+ from.*'
]


## ``section_regexps`` is a list of 2-tuples associating a string label and a
## list of regexp
##
## Commit messages will be classified in sections thanks to this. Section
## titles are the label, and a commit is classified under this section if any
## of the regexps associated is matching.
##
section_regexps = [
('Other', None), ## Match all lines
]


## ``body_process`` is a callable
##
## This callable will be given the original body and result will
## be used in the changelog.
##
## Available constructs are:
##
## - any python callable that take one txt argument and return txt argument.
##
## - ReSub(pattern, replacement): will apply regexp substitution.
##
## - Indent(chars=" "): will indent the text with the prefix
## Please remember that template engines gets also to modify the text and
## will usually indent themselves the text if needed.
##
## - Wrap(regexp=r"\n\n"): re-wrap text in separate paragraph to fill 80-Columns
##
## - noop: do nothing
##
## - ucfirst: ensure the first letter is uppercase.
## (usually used in the ``subject_process`` pipeline)
##
## - final_dot: ensure text finishes with a dot
## (usually used in the ``subject_process`` pipeline)
##
## - strip: remove any spaces before or after the content of the string
##
## Additionally, you can `pipe` the provided filters, for instance:
#body_process = Wrap(regexp=r'\n(?=\w+\s*:)') | Indent(chars=" ")
#body_process = Wrap(regexp=r'\n(?=\w+\s*:)')
#body_process = noop
empty_string = lambda _: ''
body_process = empty_string


## ``subject_process`` is a callable
##
## This callable will be given the original subject and result will
## be used in the changelog.
##
## Available constructs are those listed in ``body_process`` doc.
subject_process = (strip |
ReSub(r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n@]*)(@[a-z]+\s+)*$', r'\4') |
ucfirst | final_dot)


## ``tag_filter_regexp`` is a regexp
##
## Tags that will be used for the changelog must match this regexp.
##
tag_filter_regexp = r'^[0-9]+\.[0-9]+(\.[0-9]+)?$'


## ``unreleased_version_label`` is a string
##
## This label will be used as the changelog Title of the last set of changes
## between last valid tag and HEAD if any.
unreleased_version_label = "Upcoming release (unreleased changes)"


## ``output_engine`` is a callable
##
## This will change the output format of the generated changelog file
##
## Available choices are:
##
## - rest_py
##
## Legacy pure python engine, outputs ReSTructured text.
## This is the default.
##
## - mustache(<template_name>)
##
## Template name could be any of the available templates in
## ``templates/mustache/*.tpl``.
## Requires python package ``pystache``.
## Examples:
## - mustache("markdown")
## - mustache("restructuredtext")
##
## - makotemplate(<template_name>)
##
## Template name could be any of the available templates in
## ``templates/mako/*.tpl``.
## Requires python package ``mako``.
## Examples:
## - makotemplate("restructuredtext")
##
output_engine = rest_py
#output_engine = mustache("restructuredtext")
#output_engine = mustache("markdown")
#output_engine = makotemplate("restructuredtext")


## ``include_merge`` is a boolean
##
## This option tells git-log whether to include merge commits in the log.
## The default is to include them.
include_merge = True
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
.cache/
.coverage
.coverage.*
.eggs/
.tox/
amps-standalone
build/
coverage.xml
dist/
docs/_build
docs/build
encrypt-credentials.sh
reports
reports/
Expand All @@ -20,3 +20,5 @@ settings.py
test-quick
tests/settings.py
tests/test-reports-*/*
**/*.log
/.python-version
5 changes: 5 additions & 0 deletions .gitreview
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[gerrit]
host=review.gerrithub.io
port=29418
project=pycontribs/jira.git
defaultbranch=develop
140 changes: 87 additions & 53 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,73 +1,107 @@
language: python
sudo: false
matrix:
fast_finish: false
os:
- linux
python:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
- '3.5'
install:
- pip -q install -r requirements.txt
- pip -q install -r requirements-dev.txt
- pip -q install ipython || echo "optional skipped"
- pip -q install pytest-cache || echo "optional skipped"
- pip -q install unittest2 || echo "optional skipped"
- pip -q install ordereddict || echo "optional skipped"
- pip -q install coveralls
- pip --version
- pip -q --log dist/pip.log install --upgrade pip setuptools py
- pip --version
- pip -q --log dist/pip.log install ipython || echo "optional skipped"
- pip -q --log dist/pip.log install pytest-cache || echo "optional skipped"
- pip -q --log dist/pip.log install -r requirements.txt -r requirements-dev.txt
- pwd
script:
- curl --silent -Lo travis_after_all.py https://raw.github.com/pycontribs/travis_after_all/master/travis_after_all.py && travis_wait python setup.py test
- export PACKAGE_VERSION=$(python -c "from jira.version import __version__; print(__version__)")
- travis_wait python setup.py test
- export PACKAGE_NAME=$(python setup.py --name)
- export PACKAGE_VERSION=$(python setup.py --version)
after_success:
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
echo "All jobs succeeded! PUBLISHING..."
else
echo "Some jobs failed"
fi
fi
- coveralls
- travis_wait python setup.py prerelease
- python setup.py build_sphinx upload_docs sdist bdist_wheel
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_succeeded" ]; then
echo "All jobs succeeded! PUBLISHING..."
else
echo "Some jobs failed"
fi
fi
- coveralls
- travis_wait python setup.py prerelease
- requires.io update-site -t ac3bbcca32ae03237a6aae2b02eb9411045489bb -r
- make test
after_failure:
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_failed" ]; then
echo "All jobs failed"
else
echo "Some jobs failed"
fi
fi
- python travis_after_all.py
- export $(cat .to_export_back)
- |
if [ "$BUILD_LEADER" = "YES" ]; then
if [ "$BUILD_AGGREGATE_STATUS" = "others_failed" ]; then
echo "All jobs failed"
else
echo "Some jobs failed"
fi
fi
after_script:
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
- echo leader=$BUILD_LEADER status=$BUILD_AGGREGATE_STATUS
branches:
only:
- master
- develop
notifications:
hipchat: 7d72ba6ba0bf07248f17e0a6a1a899@DevOps
email:
- pycontribs@googlegroups.com
- sorin.sbarnea@gmail.com
before_deploy:
- echo "before deploy..."
- echo "before deploy..."
deploy:
- provider: releases
api_key:
- secure: "gr9iOcQjdoAyUAim6FWKzJI9MBaJo9XKfGQGu7wdPXUFhg80Rp6GLJsowP+aU94NjXM1UQlVHDAy627WtjBlLH2SvmVEIIr7+UKBopBYuXG5jJ1m3wOZE+4f1Pqe9bqFc1DxgucqE8qF0sC24fIbNM2ToeyYrxrS6RoL2gRrX2I="
file: "dist/jira-$PACKAGE_VERSION.tar.gz"
skip_cleanup: true
on:
condition: "$BUILD_LEADER = YES"
- provider: pypi
user: sorin
password:
secure: "E0cjANF7SLBdYrsnWLK8X/xWznqkF0JrP/DVfDazPzUYH6ynFeneyofzNJQPLTLsqe1eKXhuUJ/Sbl+RHFB0ySo/j/7NfYd/9pm8hpUkGCvR09IwtvMLgWKp3k10NWab03o2GOkSJSrLvZofyZBGR40wwu2O9uXPCb2rvucCGbw="
distributions: "sdist bdist_wheel"
on:
condition: "$BUILD_LEADER = YES"
- provider: releases
api_key:
secure: gr9iOcQjdoAyUAim6FWKzJI9MBaJo9XKfGQGu7wdPXUFhg80Rp6GLJsowP+aU94NjXM1UQlVHDAy627WtjBlLH2SvmVEIIr7+UKBopBYuXG5jJ1m3wOZE+4f1Pqe9bqFc1DxgucqE8qF0sC24fIbNM2ToeyYrxrS6RoL2gRrX2I=
file:
- dist/$PACKAGE_NAME-$PACKAGE_VERSION*
- dist/CHANGELOG.md
skip_cleanup: true
on:
tags: false
condition: "$BUILD_LEADER = YES"
- provider: pypi
user: sorin
password:
secure: E0cjANF7SLBdYrsnWLK8X/xWznqkF0JrP/DVfDazPzUYH6ynFeneyofzNJQPLTLsqe1eKXhuUJ/Sbl+RHFB0ySo/j/7NfYd/9pm8hpUkGCvR09IwtvMLgWKp3k10NWab03o2GOkSJSrLvZofyZBGR40wwu2O9uXPCb2rvucCGbw=
distributions: sdist bdist_wheel
skip_cleanup: true
on:
tags: false
condition: "$BUILD_LEADER = YES"
branch: master
- provider: pypi
server: https://testpypi.python.org/pypi
user: sorins
password:
secure: E0cjANF7SLBdYrsnWLK8X/xWznqkF0JrP/DVfDazPzUYH6ynFeneyofzNJQPLTLsqe1eKXhuUJ/Sbl+RHFB0ySo/j/7NfYd/9pm8hpUkGCvR09IwtvMLgWKp3k10NWab03o2GOkSJSrLvZofyZBGR40wwu2O9uXPCb2rvucCGbw=
distributions: sdist bdist_wheel
skip_cleanup: true
on:
tags: false
condition: "$BUILD_LEADER = YES"
branch: develop
after_deploy:
- echo "Now we only have to increase the version number, tag the changset and push..."
- ./release.sh
- echo "Now we only have tag the changeset and push..."
- git tag $PACKAGE_VERSION -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER on $TRAVIS_BRANCH branch."
- git push -q https://$TAGPERM@github.com/pycontribs/$PACKAGE_NAME $PACKAGE_VERSION
addons:
artifacts:
debug: true
paths:
- dist/*
target_paths: $PACKAGE_NAME/$TRAVIS_BRANCH/$TRAVIS_BUILD_NUMBER-$TRAVIS_PYTHON_VERSION
working_dir: $TRAVIS_BUILD_DIR
env:
global:
- secure: fuXwQL+KHQ96XkAFl2uQc8eK8dAjrgkup46tck/UGjVpdv1PT/yHmBKrvpFjDa50ueGbtBwTdKAwhyAmYuiZCk2IYHzdvBylCZBBji2FSpaTM59CVwgkVT6tx3HHO83X0mEX6ih9TJvZD5XhX+YUjopnseRXRq3ey3JZJXWN4RM=
- secure: "pGQGM5YmHvOgaKihOyzb3k6bdqLQnZQ2OXO9QrfXlXwtop3zvZQi80Q+01l230x2psDWlwvqWTknAjAt1w463fYXPwpoSvKVCsLSSbjrf2l56nrDqnoir+n0CBy288+eIdaGEfzcxDiuULeKjlg08zrqjcjLjW0bDbBrlTXsb5U="
Loading