Skip to content

Conversation

@charliemirabile
Copy link
Contributor

@charliemirabile charliemirabile commented Mar 16, 2024

There are several places where artifacts of the development process (commented out lines of code, antiquated approaches, etc) made it into the master branch. This PR cleans them up.

These commented out lines are a relic from when the base image
was fedora, and were only useful for debugging. They never should
have even been commited.
int this case, there is no function difference, but that is exactly why
it is preferable, because when you are not using the additional features
of the ADD instruction, why not make your intent clearer to the reader
by using the unambigious and simpler COPY instruction.
Instead of needing to edit the makefile to uncomment the line that adds
debugging options to the CFLAGS, just check if a make variable is defined
so that consumers can specify `make DEBUG=true` to perform a debug build
@charliemirabile charliemirabile changed the title smtp/pop: Containerfile: Remove old dead code pop/smtp/tcp_server general cleanup to remove dead code Mar 16, 2024
Copy link
Contributor

@theyoyojo theyoyojo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@charliemirabile charliemirabile merged commit 1c26a78 into master Mar 17, 2024
@charliemirabile charliemirabile deleted the cleanup branch March 17, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants