Skip to content

Commit 8c50dda

Browse files
committed
Release transactional update as a salt extension
1 parent 09af436 commit 8c50dda

Some content is hidden

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

81 files changed

+5355
-127
lines changed

.codecov.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
coverage:
3+
status:
4+
project:
5+
default: false
6+
app:
7+
informational: true
8+
paths:
9+
- src/
10+
tests:
11+
informational: true
12+
paths:
13+
- tests/
14+
patch:
15+
default: false
16+
app:
17+
informational: true
18+
paths:
19+
- src/
20+
tests:
21+
informational: true
22+
paths:
23+
- tests/
24+
github_checks:
25+
annotations: false

.copier-answers.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Autogenerated. Do not edit this by hand, use `copier update`.
2+
---
3+
_commit: 0.7.4
4+
_src_path: https://github.com/salt-extensions/salt-extension-copier
5+
author: Marek Czernek
6+
author_email: marek.czernek@suse.com
7+
coc_contact: ''
8+
copyright_begin: 2025
9+
deploy_docs: never
10+
docs_url: ''
11+
integration_name: Transactional Update
12+
license: apache
13+
loaders:
14+
- executor
15+
- module
16+
max_salt_version: '3007'
17+
no_saltext_namespace: false
18+
os_support:
19+
- Linux
20+
package_name: transactional_update
21+
project_name: transactional-update
22+
python_requires: '3.9'
23+
relax_pylint: true
24+
salt_version: '3006'
25+
source_url: https://github.com/m-czernek/saltext-transactional-update
26+
ssh_fixtures: true
27+
summary: Salt Extension for operating systems with Transactional Update
28+
test_containers: false
29+
tracker_url: https://bugzilla.opensuse.org
30+
url: https://github.com/m-czernek/saltext-transactional-update

.coveragerc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[run]
2+
branch = True
3+
cover_pylib = False
4+
relative_files = True
5+
parallel = True
6+
concurrency = multiprocessing
7+
8+
omit =
9+
.nox/*
10+
setup.py
11+
12+
[report]
13+
# Regexes for lines to exclude from consideration
14+
exclude_also =
15+
# Don't complain about missing debug-only code:
16+
def __repr__
17+
18+
# Don't complain if tests don't hit defensive assertion code:
19+
raise AssertionError
20+
raise NotImplementedError
21+
22+
# Don't complain if non-runnable code isn't run:
23+
if 0:
24+
if False:
25+
if __name__ == .__main__.:
26+
if TYPE_CHECKING:
27+
@(abc\.)?abstractmethod
28+
29+
# Add markers which exclude statements in between.
30+
# Requires coverage>=7.6.0.
31+
no cover: start(?s:.)*?no cover: stop
32+
33+
omit =
34+
.nox/*
35+
setup.py
36+
37+
ignore_errors = True
38+
39+
[paths]
40+
source =
41+
saltext/transactional_update
42+
src/saltext/transactional_update
43+
testsuite =
44+
tests/

.envrc.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
layout_saltext() {
2+
VIRTUAL_ENV="$(python3 tools/initialize.py --print-venv)"
3+
PATH_add "$VIRTUAL_ENV/bin"
4+
export VIRTUAL_ENV
5+
}
6+
7+
layout_saltext

.github/ISSUE_TEMPLATE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Description of Issue
2+
<!-- Note: Please direct questions to the salt-users google group, Slack, IRC, etc. Only post issues and feature requests here -->
3+
4+
### Setup
5+
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
6+
7+
### Steps to Reproduce Issue
8+
(Include debug logs if possible and relevant.)
9+
10+
### Versions Report
11+
(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: bug, needs-triage
6+
assignees: ''
7+
8+
---
9+
10+
**Description**
11+
A clear and concise description of what the bug is.
12+
13+
**Setup**
14+
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
15+
16+
Please be as specific as possible and give set-up details.
17+
18+
- [ ] on-prem machine
19+
- [ ] VM (Virtualbox, KVM, etc. please specify)
20+
- [ ] VM running on a cloud service, please be explicit and add details
21+
- [ ] container (Kubernetes, Docker, containerd, etc. please specify)
22+
- [ ] or a combination, please be explicit
23+
- [ ] jails if it is FreeBSD
24+
- [ ] classic packaging
25+
- [ ] onedir packaging
26+
- [ ] used bootstrap to install
27+
28+
29+
**Steps to Reproduce the behavior**
30+
(Include debug logs if possible and relevant)
31+
32+
**Expected behavior**
33+
A clear and concise description of what you expected to happen.
34+
35+
**Screenshots**
36+
If applicable, add screenshots to help explain your problem.
37+
38+
**Versions Report**
39+
<details><summary>salt --versions-report</summary>
40+
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
41+
42+
```yaml
43+
PASTE HERE
44+
```
45+
</details>
46+
47+
**Additional context**
48+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Salt Community Slack
4+
url: https://saltstackcommunity.slack.com/
5+
about: Please ask and answer questions here.
6+
- name: Salt-Users Forum
7+
url: https://groups.google.com/forum/#!forum/salt-users
8+
about: Please ask and answer questions here.
9+
- name: Salt on LiberaChat
10+
url: https://web.libera.chat/#salt
11+
about: Please ask and answer questions here.
12+
- name: Security vulnerabilities
13+
email: saltproject-security.pdl@broadcom.com
14+
about: Please report security vulnerabilities here.

.github/ISSUE_TEMPLATE/docs.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Docs
3+
about: Issue related to Salt Documentation
4+
title: "[DOCS]"
5+
labels: documentation, needs-triage
6+
assignees: ''
7+
8+
---
9+
10+
**Description**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Suggested Fix**
14+
What did you expect to see in the documentation that is missing or needs updating?
15+
16+
**Type of documentation**
17+
This could be module documentation or a guide.
18+
19+
**Location or format of documentation**
20+
Insert page URL if applicable.
21+
22+
**Additional context**
23+
Add any other context or screenshots here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FEATURE REQUEST]"
5+
labels: feature, needs-triage
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Tech Debt
3+
about: Issue is related to tech debt. This includes compatibility changes for newer versions of software and OSes that salt interacts with.
4+
title: "[TECH DEBT]"
5+
labels: tech-debt
6+
assignees: ''
7+
8+
---
9+
10+
### Description of the tech debt to be addressed, include links and screenshots
11+
12+
### Versions Report
13+
(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.)

0 commit comments

Comments
 (0)