From 8cb51aefea4bf6521f553011b20165c306da628b Mon Sep 17 00:00:00 2001 From: David Pryce-Compson Date: Wed, 20 May 2026 12:41:08 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20post-transfer=20cleanup=20(Wandera=20?= =?UTF-8?q?=E2=86=92=20Jamf=20migration)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates all Wandera org references after the repository transfer to jamf. - CODEOWNERS: @wandera/datascience → @jamf/data-science - setup.py: GitHub repo URL - README.md: badge URL (CodeQL badge also removed — workflow deleted) - CONTRIBUTING.md: issue links - onepassword/client.py: 1password.com account domain examples Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/codeql-analysis.yml | 67 --------------------------- CODEOWNERS | 2 +- CONTRIBUTING.md | 4 +- README.md | 3 +- onepassword/client.py | 18 +++---- setup.py | 2 +- 6 files changed, 14 insertions(+), 82 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index ff8190d..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ main ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ main ] - schedule: - - cron: '39 19 * * 3' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - language: [ 'python' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 diff --git a/CODEOWNERS b/CODEOWNERS index 464301e..b1ac057 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -5,7 +5,7 @@ # the repo. Unless a later match takes precedence, # @global-owner1 and @global-owner2 will be requested for # review when someone opens a pull request. -* @wandera/datascience +* @jamf/data-science # Order is important; the last matching pattern takes the most # precedence. When someone opens a pull request that only diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ab9149..86c18ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,11 +30,11 @@ For more information on how we write our markdown files, see [the GitHub Markdow #### Create a new issue -If you spot a problem with the docs, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/wandera/1password-client/issues/new/choose). +If you spot a problem with the docs, [search if an issue already exists](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-by-the-title-body-or-comments). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/jamf/1password-client/issues/new/choose). #### Solve an issue -Scan through our [existing issues](https://github.com/wandera/1password-client/issues) to find one that interests you. You can narrow down the search using `labels` as filters. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix. +Scan through our [existing issues](https://github.com/jamf/1password-client/issues) to find one that interests you. You can narrow down the search using `labels` as filters. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix. ### Make Changes diff --git a/README.md b/README.md index f258b44..4b52b7c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # OnePassword python client -[![PyPi release](https://github.com/wandera/1password-client/actions/workflows/publish-to-pypi.yml/badge.svg?branch=main&event=push)](https://github.com/wandera/1password-client/actions/workflows/publish-to-pypi.yml) -[![CodeQL](https://github.com/wandera/1password-client/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/wandera/1password-client/actions/workflows/codeql-analysis.yml) +[![PyPi release](https://github.com/jamf/1password-client/actions/workflows/publish-to-pypi.yml/badge.svg?branch=main&event=push)](https://github.com/jamf/1password-client/actions/workflows/publish-to-pypi.yml) Python client around the 1Password password manager cli for usage within python code and Jupyter Notebooks. Developed by Data Scientists from Jamf. diff --git a/onepassword/client.py b/onepassword/client.py index af0bc0d..7eefa2c 100644 --- a/onepassword/client.py +++ b/onepassword/client.py @@ -70,7 +70,7 @@ class ManualSignIn(SignIn): """ Class to sign in to 1Password manually, see: https://developer.1password.com/docs/cli/sign-in-manually - :param account: Shorthand account name for your 1Password account e.g. wandera from wandera.1password.com. + :param account: Shorthand account name for your 1Password account e.g. jamf from jamf.1password.com. (Optional, default = None) :param password: 1Password password. (Optional, default = None) """ @@ -129,9 +129,9 @@ def signin_wrapper( Helper function for user to sign in but allows for three incorrect passwords. If successful signs in and updates bash profile, if not raises exception and points user to 1Password support. - :param account: Shorthand account name for your 1Password account e.g. wandera from wandera.1password.com. + :param account: Shorthand account name for your 1Password account e.g. jamf from jamf.1password.com. (Optional, default = None) - :param domain: Full domain name of 1Password account e.g. wandera.1password.com (Optional, default=None) + :param domain: Full domain name of 1Password account e.g. jamf.1password.com (Optional, default=None) :param email: Email address of 1Password account (Optional, default=None) :param secret_key: Secret key of 1Password account (Optional, default=None) :param master_password: Password for 1Password account (Optional, default=None) @@ -163,9 +163,9 @@ def signin( """ Helper function to prepare sign in for the user - :param account: Shorthand name for your 1Password account e.g. wandera from wandera.1password.com + :param account: Shorthand name for your 1Password account e.g. jamf from jamf.1password.com (Optional, default=None) - :param domain: Full domain name of 1Password account e.g. wandera.1password.com (Optional, default=None) + :param domain: Full domain name of 1Password account e.g. jamf.1password.com (Optional, default=None) :param email: Email address of 1Password account (Optional, default=None) :param secret_key: Secret key of 1Password account (Optional, default=None) :param master_password: Password for 1Password account (Optional, default=None) @@ -192,8 +192,8 @@ def signin( session_dict = bp.get_key_value(self._env_session, fuzzy=True)[0] # list of dicts from BashProfile account = list(session_dict.keys())[0].split(self._env_session + "_")[1] except AttributeError: - account = input("Please input your 1Password account name e.g. wandera from " - "wandera.1password.com: ") + account = input("Please input your 1Password account name e.g. jamf from " + "jamf.1password.com: ") except ValueError: raise ValueError("First signin failed or not executed.") @@ -207,7 +207,7 @@ class AppSignIn(SignIn): Class to sign in to 1Password using the 1Password app integration, see: https://developer.1password.com/docs/cli/app-integration - :param account: Shorthand account name for your 1Password account e.g. wandera from wandera.1password.com. + :param account: Shorthand account name for your 1Password account e.g. jamf from jamf.1password.com. (Optional, default = None) """ def __init__(self, account: str | None = None) -> None: @@ -243,7 +243,7 @@ def signin(self, account: str | None = None) -> None: """ Sign in to your 1Password account using the app integration - :param account: Shorthand account name for your 1Password account e.g. wandera from wandera.1password.com. + :param account: Shorthand account name for your 1Password account e.g. jamf from jamf.1password.com. (Optional, default = None) """ bash_profile = BashProfile() diff --git a/setup.py b/setup.py index 4f5ed6e..be2f97a 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ def readme(): ], python_requires='>=3.7', license="MIT", - url="https://github.com/wandera/1password-client", + url="https://github.com/jamf/1password-client", classifiers=["Programming Language :: Python :: 3 :: Only", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X",