Skip to contentSkip to conversation

Do not distribute generated files in the release tarball

PATCH Applied Paul Wise 2 participants 5 messages Apr 24, 2014 – Apr 25, 2014 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Paul Wise

author
#0 lore raw

PATCH 1/1 Do not distribute generated files in the release tarball

---
 kexec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kexec/Makefile +1 -1
index 7d3175b..a758b4a 100644
@@ -29,7 +29,7 @@ KEXEC_SRCS_base += kexec/kexec-xen.c
 
 KEXEC_GENERATED_SRCS += $(PURGATORY_HEX_C)
 
-dist += kexec/Makefile $(KEXEC_GENERATED_SRCS)			\
+dist += kexec/Makefile						\
 	$(KEXEC_SRCS_base) kexec/crashdump-elf.c		\
 	kexec/crashdump.h kexec/firmware_memmap.h		\
 	kexec/kexec-elf-boot.h					\
Signature · 7 lines
1.9.2


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#1 lore raw

While I'm not opposed to this off-hand I am curious to know what the motivation for it is.

Quoted 20 lines · Paul Wise
---
 kexec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kexec/Makefile +1 -1
index 7d3175b..a758b4a 100644
@@ -29,7 +29,7 @@ KEXEC_SRCS_base += kexec/kexec-xen.c
 
 KEXEC_GENERATED_SRCS += $(PURGATORY_HEX_C)
 
-dist += kexec/Makefile $(KEXEC_GENERATED_SRCS)			\
+dist += kexec/Makefile						\
 	$(KEXEC_SRCS_base) kexec/crashdump-elf.c		\
 	kexec/crashdump.h kexec/firmware_memmap.h		\
 	kexec/kexec-elf-boot.h					\
Signature · 1 line
1.9.2

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

A message that is not in the archive (sent off-list or not yet received): 1398314768.7980.66.camel@chianamo

#3 lore raw
Quoted 9 lines · Paul Wise
Quoted 2 lines · Simon Horman

While I'm not opposed to this off-hand I am curious to know what the motivation for it is.

Within Debian there has been a renewed focus on finding and removing sourceless files and one Debian contributor mentioned kexec/purgatory.c on IRC and asked for help finding if source was missing. It was concluded that the source was present and this wasn't an issue....

Thanks, an interesting initiative.

Quoted 4 lines

..but I tend to think that generated files should always be built from source and never be present in VCS repositories and only autotools generated files should be in tarballs. This ensures that they get built as often as possible and bugs with that process are discovered early.

That seems reasonable to me.

Could you add something like that to the changelog and add a signed-off-by line?

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

author
#4 lore raw
Quoted 1 line · Simon Horman

Thanks, an interesting initiative.

One of the parts of that:

http://lintian.debian.org/tags/source-is-missing.html

Quoted 2 lines

Could you add something like that to the changelog and add a signed-off-by line?

Attached a new patch, hope thats OK.

Signature · 4 lines
bye,
pabs

http://bonedaddy.net/pabs3/

From c3437b10008dba491843aa46aa54b860b5e69785 Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Thu, 24 Apr 2014 12:20:56 +0800
Subject: [PATCH] Do not distribute generated files in the release tarball

Generated files should always be built from source and never be present in VCS repositories and only autotools generated files should be in tarballs. This ensures that they get built as often as possible and bugs with that process are discovered early.

---
 kexec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kexec/Makefile +1 -1
index 7d3175b..a758b4a 100644
@@ -29,7 +29,7 @@ KEXEC_SRCS_base += kexec/kexec-xen.c
 
 KEXEC_GENERATED_SRCS += $(PURGATORY_HEX_C)
 
-dist += kexec/Makefile $(KEXEC_GENERATED_SRCS)			\
+dist += kexec/Makefile						\
 	$(KEXEC_SRCS_base) kexec/crashdump-elf.c		\
 	kexec/crashdump.h kexec/firmware_memmap.h		\
 	kexec/kexec-elf-boot.h					\
Signature · 1 line
1.9.2

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Applied
#5 lore raw
Quoted 4 lines · Paul Wise
Quoted 1 line · Simon Horman

Thanks, an interesting initiative.

Quoted 8 lines

One of the parts of that:

http://lintian.debian.org/tags/source-is-missing.html

Quoted 2 lines

Could you add something like that to the changelog and add a signed-off-by line?

Attached a new patch, hope thats OK.

Thanks, applied.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec