Issue-#474 Clean Makefile#673
Merged
yeasy merged 11 commits intohyperledger-cello:mainfrom May 7, 2025
Merged
Conversation
Modified the following targets: - all : Now runs 'make docker' to begin Cello docker image setup - clean : Updated the filter for clearing out docker containers - check : Removed lines which would not run after failing the format check (check is solely for format check now) - deep-clean : Deleted helpers which do not exit and now it clears out docker images + local storage - docker : Added the functionality to remove dangling images after setting up Cello images - docker-clean : Changed the order of targets run, 'stop' is included in 'clean' - stop : Added '@' to avoid printing 'if' statement on terminal - clean-images : Updated the filter to clear out all Cello docker images, and prune dangling images Close hyperledger-cello#474" Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
…ashboard - clean-images : Modified the filter to only remove the images which are under the 'hyperledger' repository name and have the word 'cello' inside. This avoids deleting other Hyperledger images a user may have - check-dashboard : Moved this helper command to the list of commands which shows up with 'make help'. Could not work well with the 'check' command before, which is now meant to check the code format only - help : Rearranged the position of this command to maintain alphabetical order - .PHONY : Added 'check-dashboard' to the list Close hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
- Added a comment for check-dashboard on top of the file - Repositioned the comment for 'help' to follow alphabetical order Close hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
yeasy
requested changes
Apr 29, 2025
- Removed extra space at the head (Removed check-dashboard altogether). - Reverted changes to "all" command (Runs "check" again) - Reverted changes to "check" (Previosuly thought exiting due to error during code format check would disable the lines of the commands following it) - Removed command to prune dangling images after "docker" (These images may be intermediaries). Close hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
Spacing the head and "all" command correctly Closes hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
Removed an extra line between 2 commands Closes hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
yeasy
requested changes
May 1, 2025
Contributor
yeasy
left a comment
There was a problem hiding this comment.
You need to resolve the conversation after fixing the issue.
Resolved typos and unnecessary changes Closes hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
Contributor
Author
|
Another query regarding the MODE for start and stop I had was that even though I used the command "MODE=prod make start", it would still run the dev docker compose file. Is there some way the definition of MODE effect the definition of CONFIG_PROD_MODE that I may have missed? In case it needs changing, I can apply the "if" statement using MODE itself, instead of CONFIG_PROD_MODE |
yeasy
requested changes
May 2, 2025
Reverting changes made to the "check" command Closes hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
yeasy
requested changes
May 5, 2025
Removed the stray tab on line 147 Close hyperledger-cello#474 Signed-off-by: jaimukund bhan <bhanjaimukund@gmail.com>
yeasy
approved these changes
May 6, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #474
Updated the Makefile by modifying the code to filter docker images, pruning dangling images, separating 'check' commands, and rearranging a few commands to follow alphabetical order.
Signed-off-by: Jaimukund Bhan bhanjaimukund@gmail.com