Skip to main content

Fork Syncer – Fsyncer

Travis Build

This is a small python application to keep all your remote forks up-to-date.

Usage

Installing

pip install fsyncer

Running

From a cron job for example which runs every day / week / month…

export FSYNC_GITHUB_TOKEN=<github_token_with_repo_access_scope>
fsyncer

Filter Repositories

It’s possible to provide a list of repositories that Fsyncer should deal with. In that case, the list of forks will be filtered down to the provided list. That files location is ~/.config/fsyncer/.repo_list.

Example:

my_awesome_repo
my_other_awesome_repo
and_sync_this_one

In this case if there are other repositories for that user, they will all be ignored and only these three will be synced.

Requirements

Fsynver runs git in the background on the given environment. If the installed git can push to a repository then so can Fsyncer. Hence the requirement is only to have a valid git client with properly set up credentials.

fsyncer also requires a token to be present on the current machine to gather data, like remote forks and username.

This environment property is FSYNC_GITHUB_TOKEN.

Restrictions

Only forks can be updated which can be fast forwarded for now. Fsyncer will not try to do git magic or trying to resolve merge conflicts. If the push doesn’t work, it will skip that repository and move on to the next one.

Future

Future plans include:

  1. Creating a cron job with an optional parameter for the current user

  2. Documentation

  3. Support other VCSs

Contributions

Are always welcomed.

Metadata

Release files for fsyncer 1.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 fsyncer 1.0.2
File Size Uploaded Provenance Actions
fsyncer-1.0.2.tar.gz 4.6 kB Without provenance Details for fsyncer-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fsyncer 1.0.2
File Interpreter ABI Platform Actions
fsyncer-1.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for fsyncer-1.0.2-py2.py3-none-any.whl

Total release size: 10.0 kB

Release files / fsyncer-1.0.2.tar.gz

Download URL fsyncer-1.0.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
caa2f9342ddfc1b83eab5661d602ad3508de88595e620ab2ca0f81a7a958f75e
BLAKE2b-256 checksum
How to use checksums
bb9236649a17066e8c2dada1041289c19547e9e36e4951880d5ae26e10aa188e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15

Release files / fsyncer-1.0.2-py2.py3-none-any.whl

Download URL fsyncer-1.0.2-py2.py3-none-any.whl
Size 5.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
35e23b16702a618f9139abeb6f4bbae9ea3356ace089bd6b3ad1abfa2288e66a
BLAKE2b-256 checksum
How to use checksums
db04913c92e7e706665b637ac698db1b860a948ef69d78b424c986f1f6a6171a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15

Security for fsyncer 1.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.

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