Git Product home page Git Product logo

ghojo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ghojo's Issues

Create a cpanfile

This one is easy. You need some easy stuff for Hacktoberfest to get that t-shirt!

Create classes to represent the responses

I want a ::Response::Repository object, for instance. It doesn't have to be fancy. Use Hash::AsObject, for instance. However, it's more than just the data structure. If there's an error, the returned object should return info about that. My ReturnValue module might be interesting here.

Figure out a way for a Label object to know how to update and delete itself

The Label JSON has only the name, color, and URL. From that, we should be able to call update or delete on the Ghojo::Data::Label object and translate it into the right endpoint stuff. The programmer shouldn't know about any of this.

Additionally, we should be able to do this with any sorta thing that can update or delete or be attached to something. Labels, comments, reactions, whatever.

Provide a way to not create a token after a successful login

At the moment, as soon as we login I create a new authorization (so, a new Personal Access Token). Maybe people don't always want that. Provide a way for them to login without in.

I think I'm in favor of different constructors instead of one constructors with lots of inputs. The current one can be DWIM, but other restrictive ones can do only exactly what they are told to do.

Create a central caching mechanism

Some endpoints return virtually static responses (such as the list of licenses). Create a way to cache those (and a way that someone can avoid the cache). A cache might be for the lifetime of the program or might expire. Most of this should be hidden. Results from the cache should be marked as such.

Add a CONTRIBUTING document

See the design goals I put in the Ghojo module. I haven't made CONTRIBUTING docs before because I'm not terribly picky, so almost anything you put in a PR I'll accept!

Contrary to README, library is not available on CPAN

The README includes this:

You can read the documentation and inspect the meta data on one of the CPAN web interfaces, such as CPAN Search or MetaCPAN:

    http://search.cpan.org/dist/Ghojo
    http://www.metacpan.org/module/Ghojo

The standard module documentation has example uses in the SYNOPSIS section, but you can also look in the examples/ directory (if it's there), or look at the test files in t/.
Installation

You can install this module with a CPAN client, which will resolve and install the dependencies:

        % cpan Ghojo
        % cpanm Ghojo

However, both of those links give 404s, so the library is not yet installable from CPAN.

This was noted in the course of a discussion on the Madrid Perlmongers mailing list.

Do you expect to put this on CPAN soon?

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.