Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add common constraint and run make upgrade #26

Merged
merged 2 commits into from
Jun 12, 2021
Merged

Conversation

stvstnfrd
Copy link
Contributor

No description provided.

@stvstnfrd stvstnfrd requested a review from a team June 12, 2021 06:54
@stvstnfrd
Copy link
Contributor Author

This replaces #25

@stvstnfrd stvstnfrd merged commit c70e7ad into master Jun 12, 2021
@stvstnfrd stvstnfrd deleted the build/upgrades branch June 12, 2021 06:56
.PHONY: $(COMMON_CONSTRAINTS_TXT)
$(COMMON_CONSTRAINTS_TXT):
wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt || touch "$(@)"

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi, @stvstnfrd I had a question regarding this,
what was the problem that we faced with the previous implementation of using the common_constraints file directly?
or what problem does this (downloading the constraint file to local) solve?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @mraarif

dependabot (the Github security upgrade PR creator, used across our repos) expects all requirements to be saved locally on disk and fails to fetch requirements files if they're remote.

So using -c https://... breaks the integration and dependabot stops working.

a little more text originally shared here:

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.

2 participants