Closed kunaltyagi closed 3 years ago
Thank you! :)
I've actually been considering this so that people can share results through a simple URL.
My problem is that there is a maximum length to URLs so it'd be hard to encode very long result lists in there. I'm still trying to land on a viable solution.
If you have any ideas, feel free to share. :)
For now, how about allowing the user to download the data (as csv/markdown)?
Later, you can allow the users to add a paste using their own pastebin account. No need to work with URLs :)
If you want url, then serialize the results, then compress them (lzma?) Might be possible to cover almost all repos (since you also filter results with no modifications on master).
For now, after a very quick research, I've found a solution which seems to at least work for very simple cases: https://stackoverflow.com/a/33807762/9768291
I haven't tested it with my more "complex" table which contains SVGs, for example. I'll get around to looking deeper into this at some point when I have time.
I think a nice and complete solution would offer both options:
Export
to a CSV fileShare
with an URLI started working on this:
And I get the right format for the data:
I'm only missing the part where I can actually trigger a download.
Nice project :)
Sometimes, it takes a long time to get all results, but the output can't be easily exported.