Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Salvo Tomaselli
> If you're a Debian expert, salsa is often where you get the source > code to a program if you want to seriously work on it. I use apt source. I don't care about the unreleased untested changes that are likely to be present on salsa. At work I made a whole system to add patches to packages, an

Re: [RFC] General Resolution to deploy tag2upload

2024-06-20 Thread Russ Allbery
(Trimming the cc list a bit to keep from deluging people who aren't actively participating in this part of the conversation.) Ansgar 🙀 writes: > On Wed, 2024-06-19 at 16:06 -0700, Russ Allbery wrote: >> I appreciate that you're trying really hard to find a way to represent >> the Git tree direct

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Matthias Urlichs
On 20.06.24 17:57, Andrey Rakhmatullin wrote: As long as there is no way to properly contribute to someone else's repo (because there is no way to find what workflow you need to use If the package has been uploaded using t2u the workflow used doesn't matter because dgit understands it and you

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Simon Richter
Hi Ian, On 6/20/24 23:27, Ian Jackson wrote: I think *usually* the git history is part of the source, but sometimes it isn't (and sometimes it's even harmful and must be discarded). Usually you wouldn't (and shouldn't) rewrite the history, but sometimes you should (and sometimes you must). Ov

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Andrey Rakhmatullin
On Thu, Jun 20, 2024 at 11:17:42AM -0400, Paul R. Tagliamonte wrote: > Is uploading an NMU by dgetting the .dsc, modifying it, and dputing the > changed source polite these days? Is it something we want to encourage? > Discourage? Should it happen in Git? As long as there is no way to properly con

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Paul R. Tagliamonte
On Thu, Jun 20, 2024 at 11:00 AM Gerardo Ballabio < gerardo.balla...@gmail.com> wrote: > > I might have misunderstood Paul's questions. If so I'm sorry (if Paul > wishes he could explain what he actually meant), but I think that my > questions are relevant too. I've been following the thread and h

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Gerardo Ballabio
Il giorno gio 20 giu 2024 alle ore 12:43 Aigars Mahinovs ha scritto: > On Wed, 19 Jun 2024 at 12:57, Gerardo Ballabio > wrote: > > 1) is the source of a package the current version of the code? [*] > > 2) is the source of a package the complete history of the project? [**] > > That is a very diff

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Matthias Urlichs
On 20.06.24 15:52, Gerardo Ballabio wrote: And tag2upload isn't a step towards fixing that, because (as I understand, correct me if I'm wrong) it too builds packages that only contain the current version. On the other hand, dgit does send the git tag to an append-only archive. Conceivably we c

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Gerardo Ballabio
Il giorno gio 20 giu 2024 alle ore 00:35 Sam Hartman ha scritto: > > "Salvo" == Salvo Tomaselli writes: > Salvo> But if by mistake one upstream adds a proprietary file in git > Salvo> and then removes it… we can't distribute the whole .git > Salvo> directory as is. [...] > This sa

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Ian Jackson
Gerardo Ballabio writes ("Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)"): > And if you relax the requirement and allow for history to be "edited", > where do you draw the line? Well, I'm afraid I just have to say that I think there *is* a line. It's not just no

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Ian Jackson
I'm going to try to ramp down my involvement in this subthread about the philosophical question of whether and when the git history is a necessary part of "the source code". Just one more message... Gerardo Ballabio writes ("Re: What is the source code (was: [RFC] General Resolution to deploy ta

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Gerardo Ballabio
Il giorno mer 19 giu 2024 alle ore 19:03 Ian Jackson ha scritto: > > Speaking for myself, I believe the source is "the set of files that > > are required in order to build the package", > > Well, *that's* certainly not sufficient. Because intermediate build > products like minified js or whatever

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Aigars Mahinovs
On Thu, 20 Jun 2024 at 13:19, Ian Jackson wrote: > > Aigars Mahinovs writes ("Re: What is the source code (was: [RFC] General > Resolution to deploy tag2upload)"): > > On Wed, 19 Jun 2024 at 12:57, Gerardo Ballabio > > wrote: > > > 1) is the source of a package the current version of the code? [

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Ian Jackson
Aigars Mahinovs writes ("Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)"): > On Wed, 19 Jun 2024 at 12:57, Gerardo Ballabio > wrote: > > 1) is the source of a package the current version of the code? [*] > > 2) is the source of a package the complete history of t

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Aigars Mahinovs
On Wed, 19 Jun 2024 at 12:57, Gerardo Ballabio wrote: > > Paul R. Tagliamonte wrote: > > I wonder if we have a good idea of what the project believes to be the case > > between #1 and #2: > > > > 1) Is the source of a package the debian source distribution? > > 2) Is the source of a package the V

Re: What is the source code (was: [RFC] General Resolution to deploy tag2upload)

2024-06-20 Thread Andrey Rakhmatullin
On Wed, Jun 19, 2024 at 04:35:18PM -0600, Sam Hartman wrote: > we face all these challenges with dgit and salsa today. Yeah, the argument against shipping git repos in the archive predates salsa and alioth wasn't used as widely. I always felt like salsa is a counter-argument to it. -- WBR, wRA