denovodavid / glamour

💎 Rust & OpenGL Rendering Project
https://glamour.davidhol.land
0 stars 0 forks source link

Ideal Data Gathering Scenario #2

Open denovodavid opened 4 years ago

denovodavid commented 4 years ago

The reason to not have the program create the PR directly, is that it would have to download the repo, change the file, then create the PR. Depending on how big the repo ends up getting, this might be an easier option.

The created issue body could just be the gathered data, to make it potentially easier to handle, instead of dealing with uploading/downloading files. I'm not sure if there is a limit to the body size of an issue. It could also be in a binary format. Just had a look at supported serde-rs formats, and there's a readable Rusty Object Notation (RON) format that could be quite nice to deal with. However, the ubiquity of JSON is unfortunately too hard to pass up, especially if I actually want to load the info into JavaScript.

denovodavid commented 4 years ago