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

Remove web pack + replace fabric with makefile #404

Merged
merged 8 commits into from
May 20, 2020
Merged

Conversation

theskumar
Copy link
Member

Why was this change necessary?

Remove dependency on fabric on different machines as Make is installed on most of the machines. Make can be used not just with python but with projects in other languages as well. Webpack is unused for most of the project and was causing maintenance overload.

How does it address the problem?

remove webpack + replace fab with make commands

Are there any side effects?

yes. webpack and fab is unsupported. Make does have it's own learning requirement.

closes: #391
related: #380

SHELL := bash
.ONESHELL:

PROJECT_NAME=insights
Copy link
Contributor

Choose a reason for hiding this comment

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

replace with cookiecutter project name ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep

@tucosaurus
Copy link
Contributor

Should we look to achieve full feature parity with the fabfile ?

@theskumar
Copy link
Member Author

Fabric was introduced with keeping in mind the ability to run command on server from local machine. This is now primarily being done with ansible. So we are not looking to do full match with fab in terms of functionality.

@theskumar
Copy link
Member Author

@tucosaurus I've updated Makefile to include some more stuff in there. The tests are failing due to travis + postgres issue :(

I'm trying to fix that but the current changes can merge irrespective.

@theskumar theskumar requested a review from tucosaurus May 20, 2020 13:36
@theskumar theskumar merged commit 3a09db9 into master May 20, 2020
@theskumar theskumar deleted the remove-webpack branch May 20, 2020 14:03
theskumar added a commit that referenced this pull request Sep 29, 2020
* master:
  Fix formatting for failed validation for one of the items in ListField (#413)
  PyTest: Run failed test and then new test cases first (#414)
  update dependencies to latest (#412)
  Add "django.contrib.postgres" to list of INSTALLED_APPS
  docs: improve setup docs on mac
  docs(): automate generating the latest db schema on deployment in docs (#408)
  update readme
  Add artwork
  chore - upgrade django (#407)
  feat: upgrade python dependencies to latest stable (#406)
  Upgrade django 3.0.5 -> 3.0.6
  Update documentation (#405)
  Remove web pack + replace fabric with makefile (#404)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Do we need webpack support ?
2 participants