fiduswriter-gitrepo-export
A plugin to export books to GitLab/GitHub.
To install:
-
Make sure you have installed the
fiduswriter-booksplugin and you have updated bothfiduswriterandfiduswriter-booksto the latest patch release. -
Install this plugin (for example by running
pip install fiduswriter-gitrepo-export). -
Enter the configuration file in an editor. If you have installed the Snap, you do this by running
sudo fiduswriter.configure. Otherwise open the fileconfiguration.pyin a text editor. -
The default maximum size of a book is 2.5 MB. If some of your files will be larger than that, adjust
DATA_UPLOAD_MAX_MEMORY_SIZEto something higher, for example 10MiB::
DATA_UPLOAD_MAX_MEMORY_SIZE = 10485760
- Add "gitrepo_export" to
INSTALLED_APPS.
For GitHub
6a. Add "allauth.socialaccount.providers.github" to INSTALLED_APPS.
7a. Add repo rights for the github connector like this::
SOCIALACCOUNT_PROVIDERS = {
'github': {
'SCOPE': [
'repo',
'user:email',
],
}
}
8a. Exit the editor and save the configuration file.
9a. Set up GitHub as one of the connected login options. See instructions here: https://docs.allauth.org/en/latest/socialaccount/providers/github.html . The callback URL will be in the format https://DOMAIN.NAME/api/github/github/login/callback/
For GitLab
6b. Add "allauth.socialaccount.providers.gitlab" to INSTALLED_APPS.
7b. Add repo rights for the gitlab connector like this::
SOCIALACCOUNT_PROVIDERS = {
'gitlab': {
'SCOPE': [
'api',
],
}
}
8b. Exit the editor and save the configuration file.
9b. Set up GitLab as one of the connected login options. See instructions here: https://docs.allauth.org/en/latest/socialaccount/providers/gitlab.html . The callback URL will be in the format https://DOMAIN.NAME/api/gitlab/gitlab/login/callback/
To use:
-
Login to your Fidus Writer instance using GitHub/GitLab, or login with a regular account and connect a Gitlab/Github account on the profile page (https://DOMAIN.NAME/user/profile/)
-
Go to the books overview page.
-
Enter a book to set the gitrepo settings for the book.
-
Select the book in the overview and export to gitrepo via the dropdown menu.
Metadata
Release files for fiduswriter-gitrepo-export 4.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fiduswriter_gitrepo_export-4.1.2.tar.gz | 91.1 kB | Without provenance | Details for fiduswriter_gitrepo_export-4.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fiduswriter_gitrepo_export-4.1.2-py3-none-any.whl | Python 3 | none | any | Details for fiduswriter_gitrepo_export-4.1.2-py3-none-any.whl |
Total release size: 249.6 kB
Release files / fiduswriter_gitrepo_export-4.1.2.tar.gz
| Download URL | fiduswriter_gitrepo_export-4.1.2.tar.gz |
|---|---|
| Size | 91.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
390bc688e9bc8c3bab296f3480ed2b310b65b205b364b57dbed0edf0706216fd
|
|
BLAKE2b-256 checksum How to use checksums |
d0b1a90c70a3d0a61cd6eb9db0ac0e10831e797eca4a0345584170d1b8e43cc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / fiduswriter_gitrepo_export-4.1.2-py3-none-any.whl
| Download URL | fiduswriter_gitrepo_export-4.1.2-py3-none-any.whl |
|---|---|
| Size | 158.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3d69eeedd72d06cb903fc8fbdd3b9e8f567b4abac056f01d4bf563d86cd9228
|
|
BLAKE2b-256 checksum How to use checksums |
f4a1d2c4983ad8970db5ac0bde34b715611e9343ac759be59fad8da278a1dfee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for fiduswriter-gitrepo-export 4.1.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.