No description or website provided.
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
README.rdoc
Rakefile
config.ru
lh-export.sublime-project
lh-export.sublime-workspace

README.md

Lighthouse-Export

A tool to get LightHouse project data (tickets, comments, milestones) into the format described here for import into GitHub Issues.

You need to create individual JSON files for issues, issue comments, and milestones using v3 of their API

Lighthouse's API can be accessed via this gem from entp.

To run

  1. Clone the project
  2. Create a config/application.yml file with the following content:

    development:
      lighthouse:
        token:  # token of user with access 
        account:  # name of your lighthouse acct - the subdomain of lighthouseapp.com that you use
        project_id:  # id of a project to export
    
  3. Run bundler: bundle install to install Gem dependencies

  4. Create directories lhe/milestones, lhe/tickets inside of the tmp directory
  5. Run the Rails console: rails console
  6. Run a class method in the class that you want to export: Milestone.fetch_all_as_json. This will output all of the given type as JSON files in the format described in the above gist.