Distribute binary packages when tagging new versions
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 42/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- github-actions, postgresql, python
- Domaine
- build-system, ci-cd, cli, release
Piste de recherche
Commencez par le fichier .github/workflows/release.yml lié et la commande Nuitka fournie ; examinez comment les pushes de tags publient actuellement les releases de pgcli. Le travail est terminé lorsque les builds déclenchés par des tags produisent des binaires téléchargeables pour les cibles Linux et macOS indiquées, Windows n’étant inclus que s’il est pris en charge.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
It's not a "problem", rather a suggestion (with plan to act uppon).
When releasing new versions, it would be nice if one could download the package from the release pages.
Some Linux distro are no always the most up to date and installing with pip in quite a hassle with psycopg
requiring to install different packages and compilers.
As I work in some environments which don't always allow installation of packages, or that compile times
are awful (and I can't even do SSH tunneling), I have created a static binary of pgcli using nutika.
If interested, I can make a PR which builds the binary using nuitka when pushing tags.
The build can be done for MacOSX, debian and static binary for Linux. I can also extend this to Windows.
You can see a similar release actions pipline in my project.
The pipeline linked is for a C program, but github actions has a nuitka action which works for compile to all major OS.
I have already figured out all the command line parameters for building the executable:
nuitka3 --onefile -o pgcli_executable pgcli --python-flag=-m --follow-imports --include-module=pgspecial --include-module=psycopg2 --include-data-files=./pgcli/packages/pgliterals/pgliterals.json=pgcli/packages/pgliterals/pgliterals.json --include-data-files=./pgcli/pgclirc=pgcli/pgclirc
The idea is to use this in the release pipline.
Will you be interesed in such a PR?
Your environment
- Please provide your OS and version information.
I use RHEL and Debian stable. - Please provide your CLI version.
4.1.0
- Langage dominant
- Python
- Étoiles
- 13.4k
- Forks
- 613
- Merge moyen
- 12 h 45 min
- PR mergées (30 j)
- 5
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de dbcli/pgcli
-
# is not as -- in PostgreSQL Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 64/100
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
Toutes les issues de dbcli/pgcli
Issues similaires
-
agent-ready documentation needs-triage
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
-
Add https://search.jeremyh.xyz/ Ouverteinstance instance add
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
searxng/searx-instances#939 · 1 commentaire ·
-
area-deployment area-integrations triage:bot-seen
Difficulté 2/5 Une demi-journée Accessibilité débutants 86/100