-
Notifications
You must be signed in to change notification settings - Fork 86
Updated SHA checksum for dep-darwin-amd64 #2163
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2163 +/- ##
=======================================
Coverage 69.43% 69.43%
=======================================
Files 166 166
Lines 15445 15445
=======================================
Hits 10725 10725
Misses 3749 3749
Partials 971 971 Continue to review full report at Codecov.
|
@@ -24,6 +24,9 @@ DOCKER_COMPOSE_BIN := $(shell command -v $(DOCKER_COMPOSE_BIN_NAME) 2> /dev/null | |||
DOCKER_BIN := $(shell command -v $(DOCKER_BIN_NAME) 2> /dev/null) | |||
MINIMOCK_BIN=$(VENDOR_DIR)/github.com/gojuno/minimock/cmd/minimock/minimock | |||
|
|||
# Define and get the vakue for UNAME_S variable from shell | |||
UNAME_S := $(shell uname -s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this used for @rohitkrai03 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kwk This variable is used to check for the kernel of operating system and then decide which version of dep package to install. On macOS when i tried make build
it failed because there was no UNAME_S
variable set which is why a version of dep
targeted for linux was getting downloaded. I could only run make build
succesfully after runningexport UNAME=Darwin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. Thank you. I was wondering about this because it wasn't explicitly used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as long as you keep a reference to where the SHA1 comes from. I found out that it is defined here: https://github.com/golang/dep/releases/download/v0.4.1/dep-darwin-amd64
**commit** fabric8-services/fabric8-wit@cefe36a **Author:** Rohit Kumar Rai <rohitkrai03@gmail.com> **Date:** Wed Jul 11 17:54:40 2018 +0530 Changed SHA checksum for dep-darwin-amd64 and setting UNAME_S variable (fabric8-services/fabric8-wit#2163) - For macOS dep package was updated with a new SHA. This SHA value is checked in `Makefile` with a hardcoded SHA checksum to verify dep package. - Updated the SHA value to new one. - Added initialization of `$(UNAME_S)` variable `UNAME_S=$(shell uname -s)` since it was being used but never set which lead to explicitly exporting the variable from shell. Similar PR for fabric8-auth - fabric8-services/fabric8-auth#549 Note: We can probably look into automating the process where SHA value is fetched dynamically instead of hard coding. **commit** fabric8-services/fabric8-wit@f13e094 **Author:** Elliott Baron <ebaron@redhat.com> **Date:** Wed Jul 11 13:46:08 2018 -0400 Add parameter to Delete Space to skip deleting OpenShift resources (fabric8-services/fabric8-wit#2121) When a user resets their environment, the front-end makes calls to the Delete Space API and Clean Tenant API. It makes these calls asynchronously, and due to both APIs acting on the same resources, I suspect this is the reason we are seeing a variety of errors in openshiftio/openshift.io#3500. Since the Clean Tenant API cleans out the user's entire namespaces, it is not necessary in this case for Delete Space to delete anything from OpenShift. This PR adds an optional parameter skipCluster, to the Delete Space API, which if true, will not attempt to delete any deployments from OpenShift. The front-end could then use this parameter only when resetting the user's environment. An alternative would be for the front-end to synchronize between deleting spaces and calling Clean Tenant, but this would be less efficient. Fixes (partially): openshiftio/openshift.io#3500 **commit** fabric8-services/fabric8-wit@cb85aa7 **Author:** Ibrahim Jarif <jarifibrahim@gmail.com> **Date:** Fri Jul 13 12:57:43 2018 +0530 Refactor search_blackbox_test.go (fabric8-services/fabric8-wit#2148) **commit** eae146f7d3cdf1d6c40588608e60d688aaf6ad83 **Author:** Dhriti Shikhar <dhriti.shikhar.rokz@gmail.com> **Date:** Fri Jul 13 16:55:40 2018 +0530 Increase paging limit (fabric8-services/fabric8-wit#2166) **commit** fabric8-services/fabric8-wit@d198813 **Author:** Baiju Muthukadan <baiju.m.mail@gmail.com> **Date:** Fri Jul 13 17:46:12 2018 +0530 Revert "List work items part of child iterations (fabric8-services/fabric8-wit#2146)" (fabric8-services/fabric8-wit#2168) This reverts commit 68996d1555a29a9ef310403403855b47559d5a71. This is required to address #3974 **commit** fabric8-services/fabric8-wit@a4d9061 **Author:** Michael Kleinhenz <kleinhenz@redhat.com> **Date:** Fri Jul 13 16:24:37 2018 +0200 feat(boardview): Board View for WIT. (fabric8-services/fabric8-wit#2111)
**commit** fabric8-services/fabric8-wit@cefe36a **Author:** Rohit Kumar Rai <rohitkrai03@gmail.com> **Date:** Wed Jul 11 17:54:40 2018 +0530 Changed SHA checksum for dep-darwin-amd64 and setting UNAME_S variable (fabric8-services/fabric8-wit#2163) - For macOS dep package was updated with a new SHA. This SHA value is checked in `Makefile` with a hardcoded SHA checksum to verify dep package. - Updated the SHA value to new one. - Added initialization of `$(UNAME_S)` variable `UNAME_S=$(shell uname -s)` since it was being used but never set which lead to explicitly exporting the variable from shell. Similar PR for fabric8-auth - fabric8-services/fabric8-auth#549 Note: We can probably look into automating the process where SHA value is fetched dynamically instead of hard coding. **commit** fabric8-services/fabric8-wit@f13e094 **Author:** Elliott Baron <ebaron@redhat.com> **Date:** Wed Jul 11 13:46:08 2018 -0400 Add parameter to Delete Space to skip deleting OpenShift resources (fabric8-services/fabric8-wit#2121) When a user resets their environment, the front-end makes calls to the Delete Space API and Clean Tenant API. It makes these calls asynchronously, and due to both APIs acting on the same resources, I suspect this is the reason we are seeing a variety of errors in openshiftio/openshift.io#3500. Since the Clean Tenant API cleans out the user's entire namespaces, it is not necessary in this case for Delete Space to delete anything from OpenShift. This PR adds an optional parameter skipCluster, to the Delete Space API, which if true, will not attempt to delete any deployments from OpenShift. The front-end could then use this parameter only when resetting the user's environment. An alternative would be for the front-end to synchronize between deleting spaces and calling Clean Tenant, but this would be less efficient. Fixes (partially): openshiftio/openshift.io#3500 **commit** fabric8-services/fabric8-wit@cb85aa7 **Author:** Ibrahim Jarif <jarifibrahim@gmail.com> **Date:** Fri Jul 13 12:57:43 2018 +0530 Refactor search_blackbox_test.go (fabric8-services/fabric8-wit#2148) **commit** eae146f7d3cdf1d6c40588608e60d688aaf6ad83 **Author:** Dhriti Shikhar <dhriti.shikhar.rokz@gmail.com> **Date:** Fri Jul 13 16:55:40 2018 +0530 Increase paging limit (fabric8-services/fabric8-wit#2166) **commit** fabric8-services/fabric8-wit@d198813 **Author:** Baiju Muthukadan <baiju.m.mail@gmail.com> **Date:** Fri Jul 13 17:46:12 2018 +0530 Revert "List work items part of child iterations (fabric8-services/fabric8-wit#2146)" (fabric8-services/fabric8-wit#2168) This reverts commit 68996d1555a29a9ef310403403855b47559d5a71. This is required to address #3974 **commit** fabric8-services/fabric8-wit@a4d9061 **Author:** Michael Kleinhenz <kleinhenz@redhat.com> **Date:** Fri Jul 13 16:24:37 2018 +0200 feat(boardview): Board View for WIT. (fabric8-services/fabric8-wit#2111)
Makefile
with a hardcoded SHA checksum to verify dep package.$(UNAME_S)
variableUNAME_S=$(shell uname -s)
since it was being used but never set which lead to explicitly exporting the variable from shell.Similar PR for fabric8-auth - fabric8-services/fabric8-auth#549
Note: We can probably look into automating the process where SHA value is fetched dynamically instead of hard coding.