Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better pinning/archiving/import_game etc #52

Open
michaeljb opened this issue Feb 4, 2023 · 1 comment
Open

better pinning/archiving/import_game etc #52

michaeljb opened this issue Feb 4, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@michaeljb
Copy link
Owner

michaeljb commented Feb 4, 2023

  • could look at most recent action in active game and pin instead of archive if the action is recent enough (say, last 3 days)
  • script to archive all games with status: finished and a pin, possibly over X days old
  • allow import_game to import from a game json file, possibly useful for importing into prod
  • script to remove pin files if no game is pinned to them
  • maybe on deploy, also always create pin file and put it in public/pinned (many of these ideas could be put in deploy script)
  • by default, pin a game to the latest pin file -- so if you manually pin before deploying, you don't need to specify the pin; on deploy, if the latest pin was unused it can be cleaned up and replaced with the current pin
  • whole list of all ids could be given, script could figure out if they should actually be pinned or archived
@michaeljb michaeljb added the enhancement New feature or request label Feb 4, 2023
@michaeljb
Copy link
Owner Author

queue.rb:

  • after 90? 30? 7? days archive pinned games that are finished
  • after doing that, delete any unused pin files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant