8000 Feature proposal: determine project based on the current directory · Issue #1051 · python-gitlab/python-gitlab · GitHub
[go: up one dir, main page]

Skip to content
Feature proposal: determine project based on the current directory #1051
Open
@sumpfralle

Description

@sumpfralle

Below you find the description of a use-case, that would be very useful for me. At the moment I implemented it for my convenience in a wrapper around python-gitlab. But I would be willing to add this feature to python-gitlab, if you think, that it is within the scope of the project.

Description of the problem, including code/CLI snippet

I would like to run something like the following in a git repository directory:

gitlab issues

Expected Behavior

gitlab would automagically determine (based on the remote origin of the current directory) the corresponding gitlab project and display its issues.

Actual Behavior

Currently python-gitlab does not use the context of the current directory in order to determine the relevant gitlab project.

Opinions?

Please discuss/decide, whether such a behavior would be a suitable extension of the gitlab command. I could imagine, that this could open a new interactive way of using this tool. But maybe you consider it to be out of scope for this project.

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

      0