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

adding response of packages checkbox #436

Merged
merged 2 commits into from
Mar 26, 2019
Merged

Conversation

rpotter12
Copy link
Member

Checklist

  • I have read the Contribution & Best practices Guide and my PR follows them.
  • There is a corresponding issue for this pull request.
  • My branch is up-to-date with the Upstream master branch.
  • The unit tests pass locally with my changes (provide a screenshot or link for test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

adding response for package checkbox to check which packages need to be install.

Fixes #435

@@ -144,6 +144,7 @@ def index():
features[name] = value
recipe = json.dumps(variables, ensure_ascii=False) # Dumping the generator-packages into a JSON array
feature = json.dumps(features, ensure_ascii=False) # Dumping the chosen features into a JSON objects
INSTALL = request.form.getlist('INSTALL')

Choose a reason for hiding this comment

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

@rpotter12 this is already implemented here:

if name.startswith("INSTALL_"):

No need of the pr, as the response on checkboxes is already implemented
Try triggering a build using your deployment

<span>Chromium</span>
</label>
</div>
<div class="input__less">
<label class="checkbox">
<input type="checkbox" value="firefox" name="INSTALL_firefox">
<input type="checkbox" value="firefox" name="INSTALL">

Choose a reason for hiding this comment

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

@rpotter12 this is a redunant change will not have any affect on the working of the app, I think different names provide more clarity to the packages being installed

@tabesin tabesin merged commit d60b0a0 into fossasia:master Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add response to checkbox
3 participants