fiedl / github-project-to-csv Goto Github PK
View Code? Open in Web Editor NEWSimple cli to export github v2 projects to csv
License: MIT License
Simple cli to export github v2 projects to csv
License: MIT License
Context
I just cloned the repository and tried following the steps described in the README file to get my project's data in a CSV.
I did not have ruby on my computer, so I started with a fresh install with Homebrew, and added the needed gems (HTTPParty and pry). Note that I am not experienced in Ruby!
Observed behavior
When running the following command:
sudo ./github-project-to-csv/github-project-to-csv.rb --project=https://github.com/users/AgentAGadge/projects/2 --output project2.csv --token xxx
I get: ./github-project-to-csv/github-project-to-csv.rb:48: syntax error, unexpected ','
Workaround
I modified github-project-to-csv.rb:48 from:
@result = HTTParty.post(url, body:, headers:)
to
@result = HTTParty.post(url, body: body, headers: headers)
And I got the script running perfectly well!
Issue
Am I missing something? Thanks!
Hi, this tool is indeed very useful in exporting the basic fields of the tasks from the github projects. Thank you for developing it.
My question is: would it be possible to extend the functionality of the tool to export the descriptions of the tasks as well?
The exported descriptions could be in a string format, minus the images.
The ruby code misses date values when it exports project data to a CSV file. It seems like this code needs a line to dig date values around L322 in field_value_attributes
.
E.g.:
field_value_data.dig("date") || \
c078a81 adds an url
column. However, for draft issues, this column is still missing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.