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 trailing space from pyflakes project #637

Merged

Conversation

srivama
Copy link
Contributor

@srivama srivama commented Aug 13, 2018

This redirects the user from link
http://projects.coala.io/#/projects?project=integrate_pyflakes-enhanced_ast_into_coala_
to http://projects.coala.io/#/projects?project=integrate_pyflakes-enhanced_ast_into_coala

Fixes #573

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

netlify.toml Outdated
@@ -1,3 +1,7 @@
[build]
publish = "_site"
command = "gem install bundler && .ci/build.sh"

[[redirects]]
from = "/#/projects?project=integrate_pyflakes-enhanced_ast_into_coala"
Copy link
Member

Choose a reason for hiding this comment

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

to & from need to be reversed.

and you need to edit the .md to remove the unwanted space

@srivama srivama force-pushed the issue573-patch1-removing-trailing-underscore branch from caa0142 to c1cd2b7 Compare August 13, 2018 06:28
@jayvdb
Copy link
Member

jayvdb commented Aug 13, 2018

netlify redirect isnt working.

see #573 (comment)

@jayvdb jayvdb changed the title netlify.toml: Add redirect for pyflakes project Remove trailing space from pyflakes project Aug 13, 2018
@srivama srivama force-pushed the issue573-patch1-removing-trailing-underscore branch from c1cd2b7 to 7c330ee Compare August 13, 2018 08:24
@jayvdb
Copy link
Member

jayvdb commented Aug 13, 2018

Interesting.

I dont seem to be able to get the popup to work with other pages.

e.g. https://deploy-preview-637--coala-projects.netlify.com/#/projects?project=improve_generic_bear_quality

@jayvdb
Copy link
Member

jayvdb commented Sep 1, 2018

Copy link
Member

@jayvdb jayvdb left a comment

Choose a reason for hiding this comment

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

This appears to break existing links to pages

@srivama srivama force-pushed the issue573-patch1-removing-trailing-underscore branch from 7c330ee to 77f158e Compare September 3, 2018 15:11
@@ -262,6 +269,11 @@

var project_requested = encodeURIComponent($location.search().project);
if(project_requested){

Copy link
Member

Choose a reason for hiding this comment

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

IMO we don't this extra line here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At some places it exists, and at some it doesn't. I'll remove it anyway

if(project_requested in redirectTo){
project_requested = redirectTo[project_requested]
}

Copy link
Member

Choose a reason for hiding this comment

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

(Same here)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay. Thanks

@srivama srivama force-pushed the issue573-patch1-removing-trailing-underscore branch from 77f158e to 7a6097b Compare September 3, 2018 15:26
Copy link
Member

@shikharvaish28 shikharvaish28 left a comment

Choose a reason for hiding this comment

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

Codewise, LGTM.

Though, you'll need to rebase your branch with master :)

@srivama
Copy link
Contributor Author

srivama commented Sep 20, 2018

Yes, it's an old commit. I'll rebase once the code changes are approved. John needs to deploy and verify that the redirects are working properly.

@shikharvaish28
Copy link
Member

The netlify deploy is working. See the test below.

@srivama srivama force-pushed the issue573-patch1-removing-trailing-underscore branch from 7a6097b to 1d3d026 Compare September 20, 2018 16:30
@TravisBuddy
Copy link

Travis tests have failed

Hey @srivama,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

Ruby: 2.5.1

docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci
Unable to find image 'coala/base:latest' locally
latest: Pulling from coala/base
















Digest: sha256:125d6cf24929d39db47b3ccd83d6ed1b6a231fc7e8afbf70bc4b5bd87653b0ff
Status: Downloaded newer image for coala/base:latest
Executing section global...
[WARNING][16:35:34] InvalidLinkBear: This result has no patch attached.

data/locale/en/projects/add-repo-license.md
| 148| [this·blog·post](http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/).
|    | [MAJOR] InvalidLinkBear:
|    | Broken link - unable to connect to http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/
[WARNING][16:36:16] InvalidLinkBear: This result has no patch attached.

_projects/add-repo-license.md
| 148| [this·blog·post](http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/).
|    | [MAJOR] InvalidLinkBear:
|    | Broken link - unable to connect to http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/
Executing section commit...
Executing section linecount...
Executing section filenames...
Executing section markdown_filenames...
Executing section spacing...
Executing section html...
Executing section yml...
Executing section new_linelength_projects...
Executing section old_linelength_projects...
Executing section cli...

@TravisBuddy
Copy link

Travis tests have failed

Hey @srivama,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

Ruby: 2.5.1

docker run -v=$(pwd):/app --workdir=/app coala/base coala --ci
Unable to find image 'coala/base:latest' locally
latest: Pulling from coala/base
















Digest: sha256:125d6cf24929d39db47b3ccd83d6ed1b6a231fc7e8afbf70bc4b5bd87653b0ff
Status: Downloaded newer image for coala/base:latest
Executing section global...
[WARNING][17:41:45] InvalidLinkBear: This result has no patch attached.

_projects/add-repo-license.md
| 148| [this·blog·post](http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/).
|    | [MAJOR] InvalidLinkBear:
|    | Broken link - unable to connect to http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/
[WARNING][17:42:21] InvalidLinkBear: This result has no patch attached.

data/locale/en/projects/add-repo-license.md
| 148| [this·blog·post](http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/).
|    | [MAJOR] InvalidLinkBear:
|    | Broken link - unable to connect to http://besutkode.org/elimination/2016/11/01/31-october-elimination-results/
Executing section commit...
Executing section linecount...
Executing section filenames...
Executing section markdown_filenames...
Executing section spacing...
Executing section html...
Executing section yml...
Executing section new_linelength_projects...
Executing section old_linelength_projects...
Executing section cli...

@jayvdb
Copy link
Member

jayvdb commented Sep 20, 2018

ack 1d3d026

@jayvdb
Copy link
Member

jayvdb commented Sep 20, 2018

@gitmate-bot ff

@gitmate-bot
Copy link

Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently ⚠️

@gitmate-bot gitmate-bot merged commit 1d3d026 into coala:master Sep 20, 2018
@gitmate-bot
Copy link

Automated fastforward with GitMate.io was successful! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Remove trailing underscore in pyflakes URL
5 participants