Skip to content

(Easy) Simplify trigger files handling #12

@rtonsing

Description

@rtonsing

The JSON file from Workflow is copied directly by dopull.py to ibiblio for cron-dopush processing. It would be better to use it as the trigger to puller.py, and let it pass it along.

In other words, for the JSON file:

  1. dopull.py calls updatehosts.py, which creates an empty trigger file for puller.py.
  2. dopull.py copies the JSON file to ibiblio, for cron-dopush.

Two scripts creating two trigger files. It would be simpler to just use the JSON file.

Also, dopull.py runs on pglaf, it makes more sense to move this action to puller.py on ibiblio, making it more localized.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions