Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[CLI] Feature Request: cache for CLI #758

Open
@pcorpet

Description

@pcorpet

Description of the problem, including code/CLI snippet

Feature/Improve suggestion: I use thegitlab cli extensively in my flow and would strongly benefit a cache feature. It would work like this:

gitlab --cache 600 project-member list --project-id 12345

Seehttps://github.com/github/hub/blob/d0e9e009ffc537c656a6cb8ec5cc132be5e4b8df/github/http.go#L400 for inspiration (the--cache feature on thehub tool, equivalent for GitHub).

Expected Behavior

Running this command twice in less than 10 minutes (600 seconds) would only query GitLab API the first time and return the same result.

Actual Behavior

The second command is as long as the first one.

Specifications

  • python-gitlab version: 1.8.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): gitlab.com

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp