Skip to main content

webkitscmpy

Provides a utilities for interacting with a git or svn repository.

Requirements

  • webkitcorepy
  • fasteners
  • monotonic
  • xmltodict

Command Line

The git-webkit command supports a common set of basic repository manipulations. Most notably:

git-webkit find <ref>: Print out commit information for a git ref, Subversion revision or identifier.

git-webkit checkout <ref>: Move the current local repository to the provided git ref, Subversion revision or identifier.

git-webkit canonicalize: Standardize commit authorship and put identifiers into the commit message.

Usage

The webkitscmpy library provides a repository abstraction for both local and remote repositories. To instantiate a repository object, use the local.Scm.from_path and remote.Scm.from_url functions.

from webkitscmpy import local, remote

on_disk = local.Scm.from_path(<path>)
subversion = remote.Scm.from_url('https://svn.webkit.org/repository/webkit')
github = remote.Scm.from_url('https://github.com/WebKit/WebKit')

While the abstraction layer is consistent for all implementations not all implementation support every feature. For example, remote repositories do not have a checkout command available.

Each repository keeps a list of contributors, which can be primed and passed into the repository object:

from webkitscmpy import local, Contributor
contributors = Contributor.Mapping()
contributors.create('Jonathan Bedard', 'jbedard@apple.com')
local.Scm.from_path(<path>, contributors=contributors)

Metadata

Release files for webkitscmpy 7.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webkitscmpy 7.0.2
File Size Uploaded Provenance Actions
webkitscmpy-7.0.2.tar.gz 215.2 kB Without provenance Details for webkitscmpy-7.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for webkitscmpy 7.0.2
File Interpreter ABI Platform Actions
webkitscmpy-7.0.2-py3-none-any.whl Python 3 none any Details for webkitscmpy-7.0.2-py3-none-any.whl

Total release size: 522.9 kB

Release files / webkitscmpy-7.0.2.tar.gz

Download URL webkitscmpy-7.0.2.tar.gz
Size 215.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b76b9388dc96a29217b90bc8e767dae07e0c7f4f8da2a6d854a5adef69614a1d
BLAKE2b-256 checksum
How to use checksums
f85c375186c5c2ff1df7576bc25cf659669a337845af111a6be4146df8909a0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / webkitscmpy-7.0.2-py3-none-any.whl

Download URL webkitscmpy-7.0.2-py3-none-any.whl
Size 307.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e88f6da246981edfa12f7d06b7b4dc2e4faf0f28c2f8d5253251ad1e2a1c49a
BLAKE2b-256 checksum
How to use checksums
ebced910921b641324cd5c5fb1e001f203b2e3a351b59b0c87dd1fec419c4973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for webkitscmpy 7.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page