Giter VIP home page Giter VIP logo

Comments (7)

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

Looks like a python (or similar) script to import them should be relatively simple to write using the GitHub web API. I exported all open issues as of... an hour or two ago? I also exported all closed issues separately, in case someone's interested in those, but there's nearly 7k of them (compared to just 648 open ones), so we probably shouldn't import those.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

(API documentation here.)

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

I now have a working script for importing the issues. Basically it just needs to be run, though I could also add downloading and reposting of attachments first.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

A sample import has been completed at CelticMinstrel/wesnoth. Since then I've made a few more small changes to the script which include adding severity, priority, os, and release to the opening post. I could transfer release to milestone, but I'm not sure that would really be useful (some of the bugs have the release set to pretty old values), so I probably won't.

Are there any preferences on how to handle attachments? There are 197 attachments in total, and the web API doesn't support uploading them, so I'd have to either do it manually or find a different way of adding them (for example, text or saved game attachments could be converted to gists, image attachments could be uploaded to an image hosting site, etc).

There's also the question of which account should post them. Broadly, there are three options:

  • Use my own account (or, send the script to someone else and have them use their account).
  • Use a new account specifically dedicated for posting the GNA bugs. (It could be called something like "wesnoth-gna".)
  • Use an account called something like "wesnoth-anon" which would then also be used if #1014 is implemented.

@Vultraz said that he would think about these options.

from wesnoth.

jyrkive avatar jyrkive commented on April 28, 2024

Out of the account options, "wesnoth-anon" sounds like the best option to me.

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

For the record, @Vultraz seems to prefer "wesnoth-bugs" (but otherwise the same idea).

from wesnoth.

CelticMinstrel avatar CelticMinstrel commented on April 28, 2024

The import is completed. Fixing up issues with the import is covered separately in #1676.

from wesnoth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.