FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

python-gitlab tutorials' issue · Issue #813 · python-gitlab/python-gitlab · GitHub

Repository navigation

python-gitlab tutorials' issue #813

Description

Description of the problem, including code/CLI snippet

#1##
https://python-gitlab.readthedocs.io/en/stable/gl_objects/commits.html
"commits = project.commits.list(since='2016-01-01T00:00:00Z')"

#2##
https://github.com/python-gitlab/python-gitlab/blob/57fa4e37aaf6ccee0d75085520f96fd15752a3df/docs/gl_objects/commits.rst
python-gitlab/docs/gl_objects/commits.rst
"commits = project.commits.list(since='2016-01-01T00:00:00Z')"

Dear Sir/Miss,
I found there have something ambiguity in tutorials/github which where maybe need to change. Please check as following:

From #1##,#2## address's message, i thought when you searched commits info from '2016-01-01xx', maybe you need to add 'all=True' in commits.

If you use commits = project.commits.list(since='2016-01-01T00:00:00Z'), it will loses a lot of commits info, but commits = project.commits.list(all= True, since='2016-01-01T00:00:00Z') won't.

Could you please change this in tutorials/github, or add something comments on it. I hope this will more clear and useful for others. Maybe this will help you.

Expected Behavior

change the example;
old one : commits = project.commits.list(since='2016-01-01T00:00:00Z')
more clear way : commits = project.commits.list(all= True, since='2016-01-01T00:00:00Z')

Actual Behavior

Specifications

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

Activity

  1. max-wittig commented on Oct 2, 2019

    Member

    This should be clarified now.

  2. locked as resolved and limited conversation to collaborators on Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL