Deutsch   English   Français   Italiano  
<lyfrta7y6o.fsf@pushface.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Simon Wright <simon@pushface.org>
Newsgroups: comp.lang.ada
Subject: Re: Software Engineer Seeks Compatible Cratifier
Date: Tue, 18 Jun 2024 22:12:15 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <lyfrta7y6o.fsf@pushface.org>
References: <v4s0n3$19cso$1@dont-email.me>
	<ba1b41d3569a7802912b4a190fe2b56ce31a0962.camel@obry.net>
	<v4sj6l$1fo59$1@dont-email.me>
	<25ffa16458991608eba5397583a4dae9eede2f71.camel@obry.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 18 Jun 2024 23:12:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="14405bd0d987c2dde9f8f69bba620a16";
	logging-data="1629178"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/oz2UoMaCrj5vBk+q5OeB+wG7dbQRIvMo="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:ZgBXUfPLszGH4Sv+08YhA30WhGg=
	sha1:Q7haLfN3exRX4AggmXzw8WHrh+M=
Bytes: 2514

Pascal Obry <pascal@obry.net> writes:

> Le mardi 18 juin 2024 à 20:06 +0200, Jeffrey R.Carter a écrit :
>> IIUC, there has to be a project file in the crate. That does not mean
>> there has to be a project file in my Github repository.
>
> But then you impose someone to create a project file. And this would be
> needed by all packager, there is not only crates around to build a
> component. And moreover, you let the "packager" find the correct
> options to be used which is certainly not a good solution.
>
> That's exactly why I had proposed a PR with a project file. It
> "documents" the way the code must be compiled (at least with GNAT) and
> installed for everyone wanting to package your components.

The crate in the index contains (amongst other things) the name of the
..gpr and a link to the source; e.g.

   project-files = "minimal_containers.gpr"

   [origin]
   commit = "592661c64b8ad6fa40864e9584a8faa3a1d2b283"
   url = "git+https://github.com/simonjwright/minimal_containers.git"

The project file is in the source.

It would be possible to 'cratify' the PragmaARCs by forking the repo and
adding an alire.toml and a .gpr - which would be very simple if there
was no particular need for special compilation switches (and one
wouldn't need compile_all.adb). But it would feel a bit daunting without
a helpful README.