Skip to content

Commit f7520d4

Browse files
committed
Merge dev into main
2 parents eda09cf + 8c3b26e commit f7520d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5411
-0
lines changed

.github/workflows/ci-pipeline.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: CI Pipeline (Base)
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
git_branch:
7+
required: true
8+
type: string
9+
release_type:
10+
required: false
11+
type: string
12+
default: ""
13+
should_increment_tag:
14+
required: false
15+
type: boolean
16+
default: false
17+
should_publish_pypi:
18+
required: false
19+
type: boolean
20+
default: false
21+
22+
env:
23+
PACKAGE_NAME: 'issues_fs_cli'
24+
25+
jobs:
26+
run-tests:
27+
name: "Run Unit Tests"
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- name: "run-tests"
33+
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pytest__run-tests@dev
34+
with:
35+
test_target: "tests/unit"
36+
37+
increment-tag:
38+
name: Increment Tag
39+
runs-on: ubuntu-latest
40+
needs: [run-tests]
41+
steps:
42+
- uses: actions/checkout@v4
43+
44+
- name: Increment Tag
45+
if: inputs.should_increment_tag
46+
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__increment-tag@dev
47+
with:
48+
release_type: ${{ inputs.release_type }}
49+
50+
publish-to-pypi:
51+
if: inputs.should_publish_pypi && needs.increment-tag.result == 'success'
52+
name: "Publish to: PYPI"
53+
permissions:
54+
id-token: write
55+
runs-on: ubuntu-latest
56+
needs: [increment-tag]
57+
steps:
58+
- uses: actions/checkout@v4
59+
- name: Git Update Current Branch
60+
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__update_branch@dev
61+
- name: publish-to-pypi
62+
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pypi__publish@dev
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI Pipeline - DEV
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- dev
7+
8+
jobs:
9+
deploy-dev:
10+
uses: ./.github/workflows/ci-pipeline.yml
11+
with:
12+
git_branch : 'dev'
13+
release_type : 'minor'
14+
should_increment_tag: true
15+
should_publish_pypi : false
16+
secrets: inherit
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI Pipeline - MAIN
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-qa:
10+
uses: ./.github/workflows/ci-pipeline.yml
11+
with:
12+
git_branch : 'main'
13+
release_type : 'major'
14+
should_increment_tag: true
15+
should_publish_pypi : true
16+
secrets: inherit

.gitignore

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
.pybuilder/
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# UV
98+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
#uv.lock
102+
103+
# poetry
104+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105+
# This is especially recommended for binary packages to ensure reproducibility, and is more
106+
# commonly ignored for libraries.
107+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108+
#poetry.lock
109+
110+
# pdm
111+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112+
#pdm.lock
113+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114+
# in version control.
115+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116+
.pdm.toml
117+
.pdm-python
118+
.pdm-build/
119+
120+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121+
__pypackages__/
122+
123+
# Celery stuff
124+
celerybeat-schedule
125+
celerybeat.pid
126+
127+
# SageMath parsed files
128+
*.sage.py
129+
130+
# Environments
131+
.env
132+
.venv
133+
env/
134+
venv/
135+
ENV/
136+
env.bak/
137+
venv.bak/
138+
139+
# Spyder project settings
140+
.spyderproject
141+
.spyproject
142+
143+
# Rope project settings
144+
.ropeproject
145+
146+
# mkdocs documentation
147+
/site
148+
149+
# mypy
150+
.mypy_cache/
151+
.dmypy.json
152+
dmypy.json
153+
154+
# Pyre type checker
155+
.pyre/
156+
157+
# pytype static type analyzer
158+
.pytype/
159+
160+
# Cython debug symbols
161+
cython_debug/
162+
163+
# PyCharm
164+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166+
# and can be added to the global gitignore or merged into this file. For a more nuclear
167+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
168+
#.idea/
169+
170+
# Ruff stuff:
171+
.ruff_cache/
172+
173+
# PyPI configuration file
174+
.pypirc
175+
.claude

.issues/.issues/_index.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"total_nodes": 1,
3+
"last_updated": 1770375782149,
4+
"type_counts": [
5+
{
6+
"count": 0,
7+
"node_type": "git-repo"
8+
},
9+
{
10+
"count": 0,
11+
"node_type": "bug"
12+
},
13+
{
14+
"count": 1,
15+
"node_type": "task"
16+
},
17+
{
18+
"count": 0,
19+
"node_type": "feature"
20+
},
21+
{
22+
"count": 0,
23+
"node_type": "person"
24+
}
25+
]
26+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"link_types": [
3+
{
4+
"link_type_id": "5a4f89d3",
5+
"verb": "blocks",
6+
"inverse_verb": "blocked-by",
7+
"description": "Prevents progress on target",
8+
"source_types": [
9+
"bug",
10+
"task"
11+
],
12+
"target_types": [
13+
"task",
14+
"feature"
15+
]
16+
},
17+
{
18+
"link_type_id": "f06c905b",
19+
"verb": "has-task",
20+
"inverse_verb": "task-of",
21+
"description": "Contains as sub-work",
22+
"source_types": [
23+
"feature",
24+
"git-repo"
25+
],
26+
"target_types": [
27+
"task"
28+
]
29+
},
30+
{
31+
"link_type_id": "fdd7c3a8",
32+
"verb": "assigned-to",
33+
"inverse_verb": "assignee-of",
34+
"description": "Work assigned to person_agent",
35+
"source_types": [
36+
"bug",
37+
"task",
38+
"feature"
39+
],
40+
"target_types": [
41+
"person"
42+
]
43+
},
44+
{
45+
"link_type_id": "2d01c253",
46+
"verb": "depends-on",
47+
"inverse_verb": "dependency-of",
48+
"description": "Requires target to complete first",
49+
"source_types": [
50+
"task",
51+
"feature"
52+
],
53+
"target_types": [
54+
"task",
55+
"feature"
56+
]
57+
},
58+
{
59+
"link_type_id": "bd76e409",
60+
"verb": "relates-to",
61+
"inverse_verb": "relates-to",
62+
"description": "General association (symmetric)",
63+
"source_types": [
64+
"bug",
65+
"task",
66+
"feature",
67+
"git-repo"
68+
],
69+
"target_types": [
70+
"bug",
71+
"task",
72+
"feature",
73+
"git-repo"
74+
]
75+
},
76+
{
77+
"link_type_id": "7cfb2c0a",
78+
"verb": "contains",
79+
"inverse_verb": "contained-by",
80+
"description": "Parent contains child issue",
81+
"source_types": [
82+
"git-repo",
83+
"feature",
84+
"task"
85+
],
86+
"target_types": [
87+
"bug",
88+
"task",
89+
"feature"
90+
]
91+
}
92+
]
93+
}

0 commit comments

Comments
 (0)