Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Adjust Distribution Strategy #80

Closed
christian-kirschnick opened this issue May 12, 2020 · 2 comments
Closed

Adjust Distribution Strategy #80

christian-kirschnick opened this issue May 12, 2020 · 2 comments
Labels
distribution service further input needed Issue requires more input from the creator to be processed good first issue
Milestone

Comments

@christian-kirschnick
Copy link
Member

christian-kirschnick commented May 12, 2020

(on hold due to waiting for Google/Apple spec)

Adjust the current distribution strategy to the following:

Server checks hourly whether new keys need to be published.

  • If there are more than N keys available, a new Export should be created.
  • Otherwise, no file will be generated
  • N must be defined as a parameter (properties file)

The app will use the defined API to check what packages exist for each day. Those packages are not assigned to an hour anymore, but rather just “batchfiles”, e.g. bachfile 1, 2, and 3 for day X. A batch file may or may not be part of a bigger batch.

When an export is generated, it needs to know the exact start timestamp. Since this is now dependent on the creation of the previous export, we need to store this time somewhere. Since we are still using two different time intervals for triggering the export (hourly/daily), we need to store both time indicators.

@christian-kirschnick christian-kirschnick added this to the Beta milestone May 12, 2020
@christian-kirschnick christian-kirschnick added the further input needed Issue requires more input from the creator to be processed good first issue label May 15, 2020
@pithumke
Copy link
Member

Linking #108 and specifically #108 (comment). Consider closing duplicate.

@christian-kirschnick
Copy link
Member Author

Closing this in favor of #108 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
distribution service further input needed Issue requires more input from the creator to be processed good first issue
Projects
None yet
Development

No branches or pull requests

2 participants