This repository was archived by the owner on Aug 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Capture diffs of dist tarballs vs auto-generated source archives from GitHub #833
Draft
bwarden
wants to merge
6
commits into
master
Choose a base branch
from
compare-github-tarballs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using When run against a couple of sample packages, the results look like:
diff --git a/archive.diff b/archive.diff
new file mode 100644
index 000000000000..3c12e25b0faa
--- /dev/null
+++ b/archive.diff
@@ -0,0 +1,20 @@
+Only in libunibreak-5.1: aclocal.m4
+Only in autogenerated/libunibreak-libunibreak_5_1: autogen.sh
+Only in autogenerated/libunibreak-libunibreak_5_1: bootstrap
+Only in autogenerated/libunibreak-libunibreak_5_1: .clang-format
+Only in libunibreak-5.1: compile
+Only in libunibreak-5.1: config.guess
+Only in libunibreak-5.1: config.h.in
+Only in libunibreak-5.1: config.sub
+Only in libunibreak-5.1: configure
+Only in libunibreak-5.1: depcomp
+Only in libunibreak-5.1: doc
+Only in autogenerated/libunibreak-libunibreak_5_1: .gitignore
+Only in libunibreak-5.1: install-sh
+Only in libunibreak-5.1: ltmain.sh
+Only in libunibreak-5.1: m4
+Only in autogenerated/libunibreak-libunibreak_5_1: .mailmap
+Only in libunibreak-5.1: Makefile.in
+Only in libunibreak-5.1: missing
+Only in autogenerated/libunibreak-libunibreak_5_1: purge
+Only in libunibreak-5.1/src: Makefile.in
diff --git a/archive.diff b/archive.diff
new file mode 100644
index 000000000000..e69de29bb2d1 |
Need to figure out how to handle the prefix so we don't get a big diff just from the source version number changing. |
815d806
to
2cf51dd
Compare
Don't feel rushed to merge this; I'm looking for any input on the approach. |
We only use this for source tree comparison, not part of the build, so don't add it to the upstreams file.
Also include content of added files.
When you think this is about ready, would you mind squashing it? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Highlight files that are different or only present in the release-manager-provided distribution tarballs on GitHub repositories vs. the tarball that GitHub automatically generates for the corresponding tag.