juzzlin / Heimer

Heimer is a simple cross-platform mind map, diagram, and note-taking tool written in Qt.
GNU General Public License v3.0
887 stars 112 forks source link

Release source tarball #213

Closed nunotexbsd closed 2 years ago

nunotexbsd commented 2 years ago

Hello,

Could this project provide a release source tarball, e.g, heimer-3.4.0.tar.gz to be included toguether with Release Assets?

This have the advantage to download source code from a fixed tarball instead of an auto-generated one: https://github.com/juzzlin/Heimer/archive/refs/tags/3.4.0.tar.gz.

Since I'm maintaining FreeBSD Heimer port, instead of using github account name/project to get auto-generated source tarball, I could simply use a simple command to fetch from a static url:

from:

PORTNAME=       heimer
DISTVERSION=    3.4.0

USE_GITHUB=     yes
GH_ACCOUNT=     juzzlin
GH_PROJECT=     Heimer

distinfo:
SHA256 (juzzlin-Heimer-3.4.0_GH0.tar.gz) = ###
SIZE (juzzlin-Heimer-3.4.0_GH0.tar.gz) = ###

to:

PORTNAME=       heimer
DISTVERSION=    3.4.0
MASTER_SITES= https://github.com/juzzlin/Heimer/releases/download/${DISTVERSION}/

distinfo:
SHA256 (heimer-3.4.0.tar.gz) = ###
SIZE (heimer-3.4.0.tar.gz) = ###

IMO, all packaging systems that needs fetching and compiling from source will beneficit with this static tarball.

Thanks,

Nuno Eduardo Teixeira eduardo@FreeBSD.org

juzzlin commented 2 years ago

Sure it's possible. I had to read this 10 times until I realized that the auto-generated download link indeed differs from the actual file name. Didn't know that :)

nunotexbsd commented 2 years ago

Nice to hear that. I'm doing this "campaign" alone with all github projects connected to ports that I maintain and it's not an easy task to explain the difference of a static tarball and a auto-generated one and, the access to both by aumotated packaging systems like FreeBSD ports, e.g.. I'm using a very simple example to explain this difference:

https://github.com/jordansissel/xdotool/releases

Cheers

juzzlin commented 2 years ago

Fixed in b8acac9521bb59595e1f908c7f9373264b9f58ed.

From now on I will release also heimer-x.y.z.tar.gz.

juzzlin commented 2 years ago

https://github.com/juzzlin/Heimer/releases/download/3.4.0/heimer-3.4.0.tar.gz

nunotexbsd commented 2 years ago

Thank you!

Cheers