Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
c09a1f0
style(client): move comment inline as black and flake are contradicting
Addono May 20, 2020
6b8e5e9
ci(travis): use addono/jira-run-standalone as testing server instance
Addono Jan 25, 2020
af96081
update setup.cfg
adehad Apr 24, 2021
915aeb4
updating tox side for Windows devs
adehad Apr 24, 2021
fefe09a
make getting started a little bit easier
studioj Apr 5, 2021
d8336b0
new properties that use rest_api_version and rest_path
adehad Apr 24, 2021
a1a9e28
replace server property with server_url property
adehad Apr 25, 2021
472f506
bump pytest versions
adehad Apr 25, 2021
fb9ebb5
tidy some travis things
adehad Apr 25, 2021
8a621c0
using GH Actions
Apr 25, 2021
a7c66d4
fixing kerberos install
Apr 26, 2021
17e67be
waiting for docker
Apr 26, 2021
5e1dd29
satisfy lint, split ci into lint vs test sections,
adehad Apr 30, 2021
b45155a
adding all py versions and pip cache
studioj May 1, 2021
76f350b
fix docs build
adehad Apr 30, 2021
b68cb4a
bump lint versions
adehad May 1, 2021
313f8c3
commit package lock file
adehad May 1, 2021
1f36487
avoid duplicate builds running ?
adehad May 1, 2021
2ea7e8f
update developer instructions
adehad May 1, 2021
3483a7c
clean legacy
adehad May 1, 2021
c1d0af4
fix lint, add guidance for Windows users
adehad May 1, 2021
60ec4a0
Upgrade to GitHub-native Dependabot
adehad Apr 30, 2021
7ad7178
drop support for py 35
studioj May 1, 2021
0b470b3
Update setup.cfg
ssbarnea May 2, 2021
2cd7c85
chore: replace cspell with codespell (#1020)
ssbarnea May 3, 2021
37055fd
Switch to locked test dependencies (#1019)
ssbarnea May 3, 2021
bb99305
Cleanup project badges (#1018)
ssbarnea May 3, 2021
ae6b746
Update client.py (#1005)
EdgeSync May 12, 2021
75a1a6d
Bump pytest from 6.2.3 to 6.2.4 (#1024)
dependabot[bot] May 12, 2021
c62de7c
chore: isort imports (#1022)
adehad May 12, 2021
91d2d06
docs: remove cspell reference in README (#1021)
adehad May 12, 2021
7646f6b
Example of the email address and API token initialization. (#893)
stanislavulrych May 12, 2021
694c528
Bump markupsafe from 1.1.1 to 2.0.0 (#1026)
dependabot[bot] May 12, 2021
8ad5eff
Add publish workflow (#1027)
ssbarnea May 12, 2021
8705ff2
Comment Author Name and Time (#1001)
pperum002c May 12, 2021
cb7561a
chore(github): adds jira instance type to bug-report template (#963)
Addono May 12, 2021
9884d76
Cleanup tox.ini publish (#1028)
ssbarnea May 12, 2021
1a4ff74
More publish fixes (#1029)
ssbarnea May 12, 2021
d3f678a
Even more release fixes (#1030)
ssbarnea May 12, 2021
13421f1
Even more release fixes (#1031)
ssbarnea May 12, 2021
4355170
Run only tox pkg on publish (#1032)
ssbarnea May 12, 2021
2d806f6
cleaning up most travis references (#1040)
studioj May 15, 2021
e9e0d60
adding version to documentation to help out on #1016 (#1039)
studioj May 15, 2021
16c1053
Fix docstring generation of jira client and minor doc layouting fix (…
studioj May 15, 2021
ea16685
Remove .idea folder as it messes up pycharm checkouts (intelij idea f…
studioj May 15, 2021
6e51395
add typehints and allow google docstrings (#1023)
adehad May 15, 2021
ca9f178
Correct lookup of issuetypes when calling create_issue (#978)
soerenbe May 15, 2021
0c3e424
fix: group_members (#933)
nilleb May 15, 2021
203a3ca
Improve feedback for oauth errors. (#888)
aklajnert May 17, 2021
d1f244c
fstrings with flynt (#1044)
studioj May 17, 2021
b360dcc
Make user search GDPR compliant (#927)
eljulians May 18, 2021
760d584
Bump pytest-cov from 2.11.1 to 2.12.0 (#1046)
dependabot[bot] May 18, 2021
445d375
Close the file descriptor for add_attachment (#957)
yen3 May 18, 2021
de73cfd
Fixes #404 - Allow you to set the reporter as well, not just the assi…
tlianza May 18, 2021
630973f
Allow expands for retrieval of comments (#1003)
matthewkeenan May 18, 2021
2c718f1
fix assign issue behaviour and correct watcher functions docstrings (…
adehad May 24, 2021
b93cdb8
fix pickling and hashability (#1051)
adehad May 24, 2021
f0e9cf2
Bump markupsafe from 2.0.0 to 2.0.1 (#1048)
dependabot[bot] May 24, 2021
ba9eb2d
Export resource_class_map and fix bug in Role.add_user() (#1047)
wlupton May 24, 2021
7d229f4
Bump pre-commit from 2.12.1 to 2.13.0 (#1054)
dependabot[bot] May 24, 2021
07f246a
ResilientSession: do not log request data on ConnectionError (#928)
Flupp May 25, 2021
eb80088
Add expand to JIRA.project and JIRA.projects (#865)
joshheinrichs May 25, 2021
f96495a
make tests more approachable (#1045)
adehad Jun 19, 2021
44e34d8
Refactor locking of test dependencies (#1074)
ssbarnea Jun 22, 2021
6760455
Add (some) missing type hints for `_IssueFields` (#1063)
eljulians Jun 22, 2021
8c6719d
add jira-version to job matrix, bump CI Jira to 8.17.1 (#1086)
adehad Jun 27, 2021
f763075
Fix broken tests (#1079)
manc-lx Jul 10, 2021
55830e9
add API reference links to README for new devs (#1080)
adehad Jul 10, 2021
d353a95
Bump zipp from 3.4.1 to 3.5.0 (#1090)
dependabot[bot] Jul 10, 2021
6eaed12
Bump packaging from 20.9 to 21.0 (#1091)
dependabot[bot] Jul 10, 2021
eafd64f
Bump sphinx from 4.0.2 to 4.0.3 (#1092)
dependabot[bot] Jul 10, 2021
87e6899
Bump urllib3 from 1.26.5 to 1.26.6 (#1082)
dependabot[bot] Jul 10, 2021
a83cc8f
use requests.structures.CaseInsensitiveDict directly (#1084)
adehad Jul 23, 2021
32f91ed
Bump sphinx from 4.0.3 to 4.1.1 (#1101)
dependabot[bot] Jul 23, 2021
f26ea39
rename MyAny to a more meaningful name (#1083)
adehad Jul 23, 2021
9df7a3c
Bump sphinx from 4.1.1 to 4.1.2 (#1103)
dependabot[bot] Jul 29, 2021
33f1722
Bump requests from 2.25.1 to 2.26.0 (#1100)
dependabot[bot] Jul 29, 2021
2cbc4bc
Bump tenacity from 7.0.0 to 8.0.1 (#1098)
dependabot[bot] Jul 29, 2021
2f68432
update dependabot default labels
adehad Jul 29, 2021
20680c5
Bump importlib-metadata from 4.5.0 to 4.6.1 (#1093)
dependabot[bot] Jul 29, 2021
502e554
Make search_assignable_users_for_issues function GDPR compliant. (#1117)
nelli-acc Aug 10, 2021
a8bae1f
Bump wheel from 0.36.2 to 0.37.0 (#1118)
dependabot[bot] Aug 10, 2021
fe78ddd
Allow the adding of headers rather than just overwriting all headers…
adehad Aug 28, 2021
9364379
Bump typing-extensions from 3.10.0.0 to 3.10.0.2 (#1136)
dependabot[bot] Sep 17, 2021
70be39e
Bump keyring from 23.0.1 to 23.2.1 (#1141)
dependabot[bot] Sep 17, 2021
6fa0e73
Bump cryptography from 3.4.7 to 3.4.8 (#1126)
dependabot[bot] Sep 17, 2021
aedb553
Bump pygments from 2.9.0 to 2.10.0 (#1122)
dependabot[bot] Sep 17, 2021
c0b587c
Bump prompt-toolkit from 3.0.19 to 3.0.20 (#1124)
dependabot[bot] Sep 17, 2021
bb3ff3e
Bump pytest from 6.2.4 to 6.2.5 (#1147)
dependabot[bot] Sep 17, 2021
ae6c84c
Bump importlib-metadata from 4.6.1 to 4.8.1 (#1134)
dependabot[bot] Sep 17, 2021
6e785a0
Bump sphinx from 4.1.2 to 4.2.0 (#1150)
dependabot[bot] Sep 18, 2021
ef92fbf
Bump cffi from 1.14.5 to 1.14.6 (#1097)
dependabot[bot] Sep 18, 2021
956a6f2
Bump pluggy from 0.13.1 to 1.0.0 (#1127)
dependabot[bot] Sep 18, 2021
c852909
Bump decorator from 5.0.9 to 5.1.0 (#1148)
dependabot[bot] Sep 18, 2021
385cb3c
allow lint to run on non *nix
adehad Sep 18, 2021
fa9da66
fix TB on RequestType instanciation with raw content (fixes #1130) (#…
bmathieu33 Sep 18, 2021
608788b
Bump sphinx-rtd-theme from 0.5.2 to 1.0.0 (#1149)
dependabot[bot] Sep 18, 2021
bf3910e
chore(github): default labels for dependabot
adehad Sep 18, 2021
e756078
[RFC] add pyupgrade as pre-commit hook and use --py36-plus (#1144)
RonnyPfannschmidt Sep 24, 2021
b634c9d
Bump urllib3 from 1.26.6 to 1.26.7 (#1154)
dependabot[bot] Sep 24, 2021
f687dab
Bump pytest-xdist from 2.3.0 to 2.4.0 (#1153)
dependabot[bot] Sep 24, 2021
caa1a8c
Fix JWT QSH generation for urls with repeated parameters (#1157)
robinhughes Sep 26, 2021
f5d7dd0
add PermissionScheme Resource (#1139)
Steffen223 Sep 28, 2021
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
7 changes: 0 additions & 7 deletions .editorconfig

This file was deleted.

16 changes: 16 additions & 0 deletions .fossa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated by FOSSA CLI (https://github.com/fossas/fossa-cli)
# Visit https://fossa.com to learn more

version: 2
cli:
server: https://app.fossa.com
fetcher: custom
project: jira
analyze:
modules:
- name: .
type: pip
target: .
path: .
options:
strategy: requirements
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ A code block with the any trace messages.


**Version Information**
Type of Jira instance:
- [ ] Jira Cloud (Hosted by Atlassian)
- [ ] Jira Server or Data Center (Self-hosted)
Python Interpreter: <VERSION>
jira-python: <VERSION>
OS: <OPERATING SYSTEM>
Expand Down
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: master
labels:
- "dependencies"
- "skip-changelog"
71 changes: 71 additions & 0 deletions .github/workflows/jira_server_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Jira Server CI

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
name: ${{ matrix.os }} / Python ${{ matrix.python-version }} / Jira ${{ matrix.jira-version }}
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [Ubuntu]
python-version: [3.6, 3.7, 3.8, 3.9]
jira-version: [8.17.1]

steps:
- uses: actions/checkout@master
- name: Start Jira docker instance
run: docker run -dit -p 2990:2990 --name jira addono/jira-software-standalone --version ${{ matrix.jira-version }}

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Setup the Pip cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: >-
${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}-${{
hashFiles('setup.py') }}-${{ hashFiles('tox.ini') }}-${{
hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-

- name: Install Dependencies
run: |
sudo apt-get update; sudo apt-get install gcc libkrb5-dev
python -m pip install --upgrade pip
python -m pip install --upgrade tox tox-gh-actions

- name: Lint with tox
run: tox -e lint

- name: Test with tox
run: tox

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.15
with:
file: ./coverage.xml
name: ${{ runner.os }}-${{ matrix.python-version }}

- name: Run tox pkg
run: tox -e pkg

- name: Make docs
run: tox -e docs
87 changes: 87 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: release

on:
release:
types: [created, edited]

jobs:
publish:
environment: publish
if: startsWith(github.ref, 'refs/tags/') # Only release during tags
runs-on: ubuntu-20.04

env:
PY_COLORS: 1
TOXENV: pkg

steps:
- name: Switch to using Python 3.6 by default
uses: actions/setup-python@v2
with:
python-version: 3.6

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install gcc libkrb5-dev
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade tox

- name: Check out src from Git
uses: actions/checkout@v2
with:
# Get shallow Git history (default) for release events
# but have a complete clone for any other workflows.
# Both options fetch tags but since we're going to remove
# one from HEAD in non-create-tag workflows, we need full
# history for them.
fetch-depth: >-
${{
(
(
github.event_name == 'create' &&
github.event.ref_type == 'tag'
) ||
github.event_name == 'release'
) &&
1 || 0
}}

- name: Drop Git tags from HEAD for non-tag-create and non-release events
if: >-
(
github.event_name != 'create' ||
github.event.ref_type != 'tag'
) &&
github.event_name != 'release'
run: >-
git tag --points-at HEAD
|
xargs git tag --delete

- name: Build dists
run: python3 -m tox

- name: Publish to test.pypi.org
if: >-
(
github.event_name == 'push' &&
github.ref == format(
'refs/heads/{0}', github.event.repository.default_branch
)
) ||
(
github.event_name == 'create' &&
github.event.ref_type == 'tag'
)
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TESTPYPI_PASSWORD }}
repository_url: https://test.pypi.org/legacy/

- name: Publish to pypi.org
if: >- # "create" workflows run separately from "push" & "pull_request"
github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_PASSWORD }}
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# See https://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder
# to understand pattern used to include .idea/codeStyleSettings.xml but not the rest of .idea/
!.idea/
.idea/*
!.idea/codeStyleSettings.xml
.idea
*.bak
*.egg
*.egg-info/
Expand All @@ -23,7 +19,6 @@ reports
reports/
setenv.sh
settings.py
test-quick
tests/settings.py
tests/test-reports-*/*
**/*.log
Expand Down
9 changes: 0 additions & 9 deletions .idea/codeStyleSettings.xml

This file was deleted.

41 changes: 30 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
repos:
- repo: https://github.com/python/black
rev: 19.3b0
rev: 21.6b0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.0.1
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -19,22 +19,41 @@ repos:
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://github.com/codespell-project/codespell.git
rev: v2.1.0
hooks:
- id: codespell
name: codespell
description: Checks for common misspellings in text files.
entry: codespell
language: python
types: [text]
args: []
require_serial: false
additional_dependencies: []
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies:
- flake8-black
- repo: https://github.com/pycqa/isort
rev: 5.9.1
hooks:
- id: isort
name: isort
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
rev: v1.26.1
hooks:
- id: yamllint
files: \.(yaml|yml)$
- repo: https://github.com/openstack-dev/bashate.git
rev: 0.6.0
hooks:
- id: bashate
- repo: https://github.com/pre-commit/mirrors-mypy.git
rev: v0.730
rev: v0.902
hooks:
- id: mypy
additional_dependencies:
- types-requests
- types-pkg_resources
- repo: https://github.com/asottile/pyupgrade
rev: v2.26.0
hooks:
- id: pyupgrade
args: [ --py36-plus ]
76 changes: 0 additions & 76 deletions .travis.yml

This file was deleted.

Loading