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

Comparing python-gitlab:51eb17e...timmy61109:58c2916 · python-gitlab/python-gitlab · GitHub

Repository navigation

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-gitlab/python-gitlab
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 51eb17e
Choose a base ref
Could not load branches
Nothing to show
{{ refName }}
...
head repository: timmy61109/python-gitlab
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 58c2916
Choose a head ref
Could not load branches
Nothing to show
{{ refName }}
  • 20 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 10, 2025

  1. feat(graphql): Extend GraphQL class to support multiple authenticatio…

    …n methods and more API options
    
    This commit extends the constructor (`__init__` method) of the `GraphQL` class to handle a wider range of interactions with the GitLab API. The main changes include:
    
    - **Added support for multiple authentication tokens:** In addition to the original `token`, it now supports `private_token`, `oauth_token`, and `job_token`, allowing users to configure based on different authentication requirements.
    - **Added HTTP Basic Authentication:** Introduced `http_username` and `http_password` parameters, allowing the use of HTTP Basic Authentication to interact with the API.
    - **Added API version control:** Introduced the `api_version` parameter, with a default value of `"4"`, allowing users to specify the GitLab API version to use.
    - **Added pagination control parameters:** Added `per_page`, `pagination`, and `order_by` parameters to provide finer control over the API's pagination behavior and data sorting.
    - **Added an option to keep the Base URL:** Added the `keep_base_url` parameter, allowing the configured base URL to be retained across multiple API calls.
    - **Added `**kwargs: Any`:** Allows passing additional keyword arguments, providing greater flexibility.
    
    These changes make the `GraphQL` class more powerful and flexible, capable of handling a broader range of GitLab API use cases.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    7bbcba2 View commit details
    Browse the repository at this point in the history
  2. feat(feat): Add class method to create Gitlab connection from configu…

    …ration files
    
    This commit introduces a new class method from_config to the GraphQL class.
    
    This method allows users to create a Gitlab connection object by reading configuration files. Users can specify the ID and paths of the configuration files, and the method will parse the connection information (e.g., URL, tokens, SSL verification, etc.) from the files to create a pre-configured Gitlab object.
    
    This feature provides a more convenient and configurable way to manage GitLab connections, especially useful for scenarios requiring connections to multiple GitLab instances or aiming to separate connection configurations from the codebase.
    
    Example usage (assuming the configuration file is gitlab.ini):
    
    ```python
    gl = GraphQL.from_config(config_files=['gitlab.ini'])
    ```
    
    Internally, this method utilizes gitlab.config.GitlabConfigParser to handle the parsing of the configuration files.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    824cda6 View commit details
    Browse the repository at this point in the history
  3. feat(graphql): Add class method to create Gitlab connection from conf…

    …iguration files
    
    This commit introduces a new class method from_config to the GraphQL class.
    
    This method allows users to create a Gitlab connection object by reading configuration files. Users can specify the ID and paths of the configuration files, and the method will parse the connection information (e.g., URL, tokens, SSL verification, etc.) from the files to create a pre-configured Gitlab object.
    
    This feature provides a more convenient and configurable way to manage GitLab connections, especially useful for scenarios requiring connections to multiple GitLab instances or aiming to separate connection configurations from the codebase.
    
    Example usage (assuming the configuration file is gitlab.ini):
    Python
    
    gl = GraphQL.from_config(config_files=['gitlab.ini'])
    
    Internally, this method utilizes gitlab.config.GitlabConfigParser to handle the parsing of the configuration files.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    97c4619 View commit details
    Browse the repository at this point in the history
  4. chore(deps): Upgrade version

    Upgraded version to allow successful installation of packages into the library, as the previous version was not working.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    d64f91e View commit details
    Browse the repository at this point in the history
  5. feat(api): Class _BaseGraphQL add parameter and class variable

    Added parameters to be compatible with parameters required by from_config.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    1d70177 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3858e74 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    786074c View commit details
    Browse the repository at this point in the history
  8. feat(api): Change valum name

    Added parameters to be compatible with parameters required by from_config.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    4d8d7eb View commit details
    Browse the repository at this point in the history
  9. feat(api): Class _BaseGraphQL add parameter and class variable

    Added parameters to be compatible with parameters required by from_config.
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    68f0932 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3bbacc0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ca6c9e7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    41e57b9 View commit details
    Browse the repository at this point in the history
  13. feat(api): Use client.execute variables

    Adding this feature would directly allow specific conditions to be variables, increasing the flexibility of application.
    
    Using variables: https://gql.readthedocs.io/en/stable/usage/variables.html
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    f86fb8e View commit details
    Browse the repository at this point in the history
  14. feat(graphql): Add parameter and class variable to GraphQL

    Add GraphQL.enable_debug
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    0d4de01 View commit details
    Browse the repository at this point in the history
  15. feat(graphql): Add parameter and class variable to AsyncGraphQL

    Add AsyncGraphQL.enable_debug
    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    859c550 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4198b3b View commit details
    Browse the repository at this point in the history
  17. feat: Add exclude path

    timmy61109 committed Jun 10, 2025
    Configuration menu
    Copy the full SHA
    a6fd190 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    aa3dd24 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    cf4feef View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    58c2916 View commit details
    Browse the repository at this point in the history
Loading

Back | FazBrowse Home | New Git URL