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.
Yesterday, I built haproxy 2.8.5 using
make MAINVERSION=2.8
, which downloadedhaproxy-2.8.5.tar.gz
into./SOURCES
. Today, 2.8.6 was released so I wanted to build it, but start fresh. I issuedmake clean
, but the code tried to removehaproxy-2.4.25.tar.gz
which was obviously incorrect, and thehaproxy-2.8.5.tar.gz
file remained.make clean MAINVERSION=2.8
did not work either, because it wants to removehaproxy-2.8.6.tar.gz
(the current upstream version) and nothing else.The way
make clean
is configured now, it will only try to remove whatever the current upstream version ofMAINVERSION
is rather than removing any/all versions which might happen to be in./SOURCES
. This could also get messy for people who might be using the same build box for multipleMAINVERSION
versions, say2.7
and2.8
.Therefore, for
make clean
to work as I would expect it to, I propose we remove all./SOURCES/haproxy-*.tar.gz
archives.Lastly, the git diff is showing I removed the last line feed from EOF but I didn't - it's still there in code. I am not sure why git is reporting it as a change; I tried to put the line feed back, but just got an empty commit
a364d0f
. 🙄 Apologies for the mess.