Skip to content

Commit bf93862

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 083dbe7 commit bf93862

File tree

23 files changed

+3
-51
lines changed

23 files changed

+3
-51
lines changed

research/automation-tools/rdopkg.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ authors: flachman
3636
## Actions
3737

3838
- [fix](https://github.com/softwarefactory-project/rdopkg/blob/master/doc/rdopkg.1.adoc#action-fix) -- Apply changes to the `.spec` file.
39-
4039
1. Bump Release, prepare a new `%changelog` entry header.
4140
2. Drop to shell, let user edit the `.spec` file.
4241
3. After running `rdopkg`, ensure description was added to `%changelog` and commit changes in a new commit.
4342

4443
- [patch](https://github.com/softwarefactory-project/rdopkg/blob/master/doc/rdopkg.1.adoc#action-patch) -- Introduce new patches to the package.
45-
4644
1. Unless -l/--local-patches was used, reset the local patches branch to the remote patches branch.
4745
2. Update patch files from local patches branch using git format-patch.
4846
3. Update .spec file with correct patch files references.
@@ -52,7 +50,6 @@ authors: flachman
5250
7. Display the diff.
5351

5452
- [new-version](https://github.com/softwarefactory-project/rdopkg/blob/master/doc/rdopkg.1.adoc#action-new-version) -- Update package to new upstream version.
55-
5653
1. Show changes between the previous version and the current one, especially modifications to requirements.txt.
5754
2. Reset the local patches branch to the remote patches branch
5855
3. Rebase the local patches branch on \$NEW_VERSION tag.

research/celery/task-workflow-refactor.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ Possible solutions, which can be somehow combined:
4141
1. serialize the info about objects and pass it into `send_task`
4242
- this would need serializing and then again deserializing
4343
2. save the info about objects in DB and pass IDs of models into `send_task`
44-
4544
- what models does make sense to have? possibilities:
46-
4745
- project
4846
- package config
4947
- service config

research/celery/tasks-prioritizing.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ authors: lbarczio
3838
## How to do it
3939

4040
- from [FAQ](https://docs.celeryproject.org/en/master/faq.html#does-celery-support-task-priorities):
41-
4241
- Redis transport emulates priority support
4342
- prioritize work by routing high priority tasks to different workers, this usually works better than per message priorities
4443

@@ -49,7 +48,6 @@ authors: lbarczio
4948
### Task priority
5049

5150
- docs are not so clear:
52-
5351
- [priority](https://docs.celeryproject.org/en/latest/reference/celery.app.task.html?highlight=celery.app.task#celery.app.task.Task.priority)
5452
attribute of the `Task` - default task priority
5553
- [priority](https://docs.celeryproject.org/en/stable/reference/celery.app.task.html?highlight=priority#celery.app.task.Task.apply_async)

research/database/refresh.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,16 @@ authors:
88
## Usecases
99

1010
1. Show the whole workflow to the user.
11-
1211
- It's not clear what it is.
1312

1413
2. For each step, we get:
15-
1614
- previous step
1715
- next steps
1816
- other steps from this group (e.g. other chroots for this build)
1917

2018
3. It is possible to rerun the whole workflow.
2119
4. It is possible to rerun one step (and all the follow-up steps).
2220
5. It is possible to rerun a part of one step (and the follow-up step(s)).
23-
2421
- E.g. one chroot.
2522

2623
6. For project, we get all workflows.

research/deployment/deployment-improvements/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Areas to be covered:
3131
### Installation source
3232

3333
- github
34-
3534
- pros:
3635
- current changes in other projects are always in place - useful especially for stg branch
3736
- cons:
@@ -46,7 +45,6 @@ Areas to be covered:
4645
### Image build approach
4746

4847
- s2i: Source-to-Image (S2I) is a tool for building reproducible, Docker-formatted container images. It produces ready-to-run images by injecting application source into a container image and assembling a new image. The new image incorporates the base image (the builder) and built source and is ready to use with the docker run command. S2I supports incremental builds, which re-use previously downloaded dependencies, previously built artifacts, etc.
49-
5048
- pros:
5149
- separating code and image development - probably advantage in bigger projects where development and devops is separated
5250
- cons:

research/deprecation/index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ authors: mfocko
1414
Looked into the options suggested by @lachmanfrantisek which were:
1515

1616
- `Deprecated`
17-
1817
- seems as a good choice, offers decorator that has optional parameters such as version or custom message
1918
- live GitHub repo
2019
- fast release cycle
@@ -24,30 +23,24 @@ Looked into the options suggested by @lachmanfrantisek which were:
2423
from docs, all properties are optional, you can add reason (usually alternative) or version in which it was deprecated
2524

2625
- `Python-Deprecated`
27-
2826
- dead version of `Deprecated`, which is probably kept in PyPI just for backward-compatibility
2927

3028
- `deprecationlib`
31-
3229
- seems like hobby project, only one information in decorator (alternative function name)
3330

3431
- `Dandelyon`
35-
3632
- looks like nice project
3733
- offers multiple decorators
3834
- doesn't seem to be very active
3935

4036
- `deprecate`
41-
4237
- dead project
4338

4439
- `deprecation`
45-
4640
- not very active
4741
- multiple issues
4842

4943
- `libdeprecation`
50-
5144
- dead version of `deprecation`
5245

5346
- `warnings` (built-in module)

research/integrations/console.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ the future.
4444
How we can integrate with it?
4545

4646
1. We should use [AWS Launch Templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html).
47-
4847
- One cannot configure instance parameters using the provisioning API.
4948
- We also need to be strict about this: we don't want users willy nilly
5049
change their instances (i.e. request 64G mem).

research/integrations/downstream/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ User can configure a repository where Packit create an issue in case of failed u
253253
There is an occurring question if the new functionality/job will be incorporated into the existing service, done as a separate deployment or done from scratch. Let's put down some benefits and problems.
254254

255255
1. New functionality added to the existing service
256-
257256
- The new functionality is added as a new handler (=a separate class).
258257
- If we need to react to a new event, the parsing needs to be implemented.
259258
- The mapping between event and handler is done by decorating the handler and explicitly setting the event we react on.
@@ -262,7 +261,6 @@ There is an occurring question if the new functionality/job will be incorporated
262261
- Since we have one database, we can show some overall status and combine information from upstream part and downstream part (including the propose-downstream job that is somewhere in the middle).
263262

264263
2. New functionality as another deployment
265-
266264
- It's more a version of the previous one.
267265
- Benefits are independence, being able to have different identities and limits.
268266
- The main downside is a duplicated afford needed to maintain the service and to run the shared part (task scheduler, listeners, API service).

research/integrations/gitlab/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ There are many ways available for us to move forward.
3636
- This service can then be enabled by the project maintainer by going to Project settings -> Integrations -> Packit service, eg. [test-instance](http://52.183.132.26:3000/testpackit/testing/-/settings/integrations).
3737

3838
- For adding project integration to gitlab instances we have two options to move forward:
39-
4039
1. We contribute to the [GitLab](https://gitlab.com/gitlab-org/gitlab/tree/master/app/models/project_services) and can reach large audiance, but for contributing to gitlab is a time taking process. (Currently looking into it)
4140

4241
2. Add our project integration code directly to the custom gitlab instances that we currently want to support.

research/integrations/image-builder/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ The integration is pretty straightforward:
5858
2. Implement a handler for it (trigger = successful Copr build + explicit `/packit` command)
5959
3. Wait for the build to finish: babysit/polling/celery
6060
4. Auth - create a 'service' account for Packit on access.redhat.com
61-
6261
- Attach employee SKU to it
6362
- Create a refresh token & store it in bitwarden
6463
- Inform Image Builder team about this user so they are aware of it (maybe

0 commit comments

Comments
 (0)