Skip to content
Snippets Groups Projects

Make one script for automatic updates

Merged HackerNCoder requested to merge (removed):main into main
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • meskio
  • meskio
    • I like it. I left few comments with improvements to make. And few other things:

      • Do you mind squashing all the commits into a single one? I'm happy to help if you don't know how to do that in git, poke me in irc, or I can do it myself before merging if needed.
      • You will need to update setup.py to remove the deleted scripts and add your update_all script.
    • Author Contributor

      Alright, I've done it all.

    • Thanks.

    • Please register or sign in to reply
  • HackerNCoder added 1 commit

    added 1 commit

    • b3ffb8d8 - Make one script for automatic updates

    Compare with previous version

  • HackerNCoder resolved all threads

    resolved all threads

  • meskio
  • meskio
  • 102 subprocess.check_call(["rclone", "delete gdrive:releases"])
    103 subprocess.check_call(["rclone", "cleanup gdrive:releases"])
    104 except:
    105 print("Error: failed to delete or cleanup with rclone", file=sys.stderr)
    106 return 1
    107
    108 def upload(self, filename, arch):
    109 try:
    110 subprocess.check_call(["rclone", "copy", filename, "gdrive:releases"])
    111 except:
    112 print("Error: failed to rclone "+filename+" to Google Drive", file=sys.stderr)
    113
    114 class IARemote:
    115 def __init__(self, token):
    116 access = token.split("\n")[0]
    117 secret = token.split("\n")[1]
  • meskio
  • HackerNCoder added 1 commit

    added 1 commit

    • 97f4539e - Make one script for automatic updates

    Compare with previous version

  • HackerNCoder added 1 commit

    added 1 commit

    • 7c79a445 - Make one script for automatic updates

    Compare with previous version

  • meskio
  • merged

  • Thanks for the contribution. I just merged it into our repo :)

  • Please register or sign in to reply
    Loading