comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Software Engineer Seeks Compatible Cratifier
Date: Tue, 18 Jun 2024 22:12:15 +0100	[thread overview]
Message-ID: <lyfrta7y6o.fsf@pushface.org> (raw)
In-Reply-To: 25ffa16458991608eba5397583a4dae9eede2f71.camel@obry.net

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.

  reply	other threads:[~2024-06-18 21:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18 13:05 Software Engineer Seeks Compatible Cratifier Jeffrey R.Carter
2024-06-18 13:40 ` Pascal Obry
2024-06-18 18:06   ` Jeffrey R.Carter
2024-06-18 18:27     ` Pascal Obry
2024-06-18 21:12       ` Simon Wright [this message]
2024-06-23  8:10       ` Alastair Hogge
2024-06-23 13:21         ` Dmitry A. Kazakov
2024-06-19  8:36   ` Luke A. Guest
2024-06-25 20:47   ` G.B.
2024-06-19 10:22 ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox