Git Product home page Git Product logo

arcli's People

Contributors

dependabot[bot] avatar goreleaserbot avatar mightymatth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arcli's Issues

Filter projects by status

Hello!

When I run arcli projects, by default it will show all projects. It would be great to show only opened projects and add a flag to show all of them.

Thank you!

Google login

My company's RedMine uses Google for login, is there any support for that?

`login` succeeds, `status` fails

Hi.

I've just build and tried arcli and I have some troubles. I'm not sure what's wrong.

╭─pjb@dishwasher ~/git/arcli ‹master*› 
╰─$ ./arcli login                 
Hostname (dishwasher): my-redmine.hostname.com
Username: piotr.borowski                                                 
Password:                           
You have successfully logged in!
╭─pjb@dishwasher ~/git/arcli ‹master*› 
╰─$ ./arcli status
Cannot fetch user.
PERIOD       HOURS   H/LOG   # of I   # of P  
Today        ERR
Yesterday    ERR
This Week    ERR
Last Week    ERR
This Month   ERR
Last Month   ERR
Failed to get status: cannot get period data (lw): Get https://dishwasher/time_entries.json?spent_on=lw&user_id=me&limit=200: dial tcp [fe80::42:5
0ff:fef4:5643%docker0]:443: connect: connection refused

If I understand correctly it tries to send a get request to localhost (Failed to get status: cannot get period data (lw): Get https://MY_HOSTNAME). Have you experienced similar issues? It's really strange, because previous request, the login, works just fine.

Regards!

Compatibility issue

I'm not sure which version of Redmine I do connect to (or the issue relates to some configuration instead of version), but my installation uses strings in the hours field:

{
      "id": 12345,
      "project": {
        "id": 123,
        "name": "Phoenix"
      },
      "issue": {
        "id": 12345
      },
      "user": {
        "id": 123,
        "name": "Bill Palmer"
      },
      "activity": {
        "id": 1,
        "name": "Development"
      },
      "hours": "80.0",
      "comments": "blah-blah-blah",
      "spent_on": "2020-07-08",
      "created_on": "2020-07-20T10:27:14Z",
      "updated_on": "2020-07-20T10:28:44Z"
    }

And due to that the show stops.

I have a quick fix for that, but maybe you can support this case in future releases? I'm not a golang developer and have very little context in Redmine unfortunately.

Status command shows same statistic in every row

Example Output

[xxx] Maximilian Lösch (xxx)
 PERIOD      HOURS  H/LOG  # OF I  # OF P
 Today       394.8  3.9        13       8
 Yesterday   394.8  3.9        13       8
 This Week   394.8  3.9        13       8
 Last Week   394.8  3.9        13       8
 This Month  394.8  3.9        13       8
 Last Month  394.8  3.9        13       8

Some Information redacted.
I use a self-built version of the master branch without any modifications.

issue state modification

Hello,

your arcli tool is great to do some issue search or time log, will you try to add more option so that we can close some issue based on some filters ?

Best regards, Guillaume.

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.