Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Trying with Python's temporary file creation. #2
I was reading through the code and it's got a neat simplicity about it - great that it's just a simple file that can be polled by the client - it's hard for that to go wrong, which feels solid.
It's inspired me to have a go at a serverless idea for providing access to all the "extras" like snapshots, artwork, titles, flyers, video snapshots, etc. (https://github.com/davidcarboni/mamecloud - very rough for now). The extras are usually available for download as zip files, so I'm looking at a function to unzip them when I upload them to a bucket, which got me looking at temporary files and folders.
I decided to use your bucket upload code to get me going. Whilst I was looking at that, I spotted the game "title" temp file uses a deterministic name, so I thought I'd send you a pull request since I've just worked out "proper" temp file creation.
I haven't tried to run it so it may not quite work, but let me know what you think!
As you're clearly very interested in helping develop this, I've added you as a full-fledged contributor to this repo, so you should have write access. I'll also merge this PR, though I haven't yet tested it. Please drop me an email at email@example.com so we can arrange getting you GCP console access as well.