Find conflicted files between two branches.
Project description
Merge base conflicts
Information
- This is a python library that helps you find files that were changed in both branchA and branchB.
Usage
- Inside the library there are many functions made for the functionality to work and be clean
- The main function you should be using is find_conflicts(...)
find_conflicts()
- The function accesses GitHub repository from GitHub REST API and finds the branchA
- Goes through the local repository to find the branchB
- Compares the two branches since their merge base and returns the conflicted files
Parameters
- repo_owner - username of GitHub user whose repository you will be finding conflicts in
- repo_name - name of the repository
- access_token - if the repository is empty the library needs token for authentication
- local_repo_path - path to the cloned repository where local branch is located
- branch_a - remote branch name on GitHub
- branch_b - local branch name
Return value
- A list of strings (names of conflicted files)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
branchconflicts-0.1.6.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file branchconflicts-0.1.6.tar.gz.
File metadata
- Download URL: branchconflicts-0.1.6.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0be04b184a69ae81779356575fe1559c025c6bb16aa75a9e5d58f078a6931c7
|
|
| MD5 |
122c470c4124beeb2f7b355d5ac5c32c
|
|
| BLAKE2b-256 |
22eea9c2ebb3a5a07bb31562a8ec7b843cf681c6b193fdb5cffc317f62f6780a
|
File details
Details for the file branchconflicts-0.1.6-py3-none-any.whl.
File metadata
- Download URL: branchconflicts-0.1.6-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe9b10f282acf9a12b30c824b0f8509ac133a0685dd21f17416f1f235aa9ea50
|
|
| MD5 |
a3f3f0f0166123b15532a566539a612d
|
|
| BLAKE2b-256 |
15f301ee3980e0033299ef21dc6bb47e504a1ccf367a60e9f874cd9a67c30e65
|