You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by DaanHoogland <gi...@git.apache.org> on 2015/12/27 12:49:31 UTC

[GitHub] cloudstack pull request: trailing commas in javascripts removed

GitHub user DaanHoogland opened a pull request:

    https://github.com/apache/cloudstack/pull/1288

    trailing commas in javascripts removed

    According to SonarQube this is a bug on internet explorer. It is the only 'blocker' level issue in cloudstack. @abhinandanprateek (@agneya2001) @bhaisaab @miguelaferreira should we enforce this or, as alternative, have it disabled in SonarQube?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DaanHoogland/cloudstack trailing-commas

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1288.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1288
    
----
commit 28ca93369d1aa19e6397f5c6dbc97ba19d042519
Author: Daan Hoogland <da...@onecht.net>
Date:   2015-12-27T11:34:58Z

    trailing commas in javascripts removed

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-172533708
  
    LGTM, UI seems to display OK.
    
    ![screen shot 2016-01-18 at 15 00 56](https://cloud.githubusercontent.com/assets/1630096/12393165/516e8c2e-bdf4-11e5-9b79-8b0cd6855fc4.png)



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by borisroman <gi...@git.apache.org>.
Github user borisroman commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1288#discussion_r48466763
  
    --- Diff: ui/plugins/plugins.js ---
    @@ -16,7 +16,7 @@
     // under the License.
     (function($, cloudStack) {
       cloudStack.plugins = [
    -    'quota',
    -    //'testPlugin'
    +    //'testPlugin',
    --- End diff --
    
    Why not remove it? It's already commented out...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by DaanHoogland <gi...@git.apache.org>.
Github user DaanHoogland commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-176114524
  
    @runseb @bhaisaab I think this is worth a small but intensive discussion, preferably over a beer. What we are talking about is neither a bug nor a feature. We never mentioned this kind of improvement in are procedures. My instict goes with the way @bhaisaab handled this but that is worth less then €0,02.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-167497445
  
    @DaanHoogland no


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by remibergsma <gi...@git.apache.org>.
Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-176114078
  
    @runseb We could see it as a bug, but I agree with @bhaisaab that it is a non-issue that was "fixed" to make SonarQube happy. Fine to do that straight on master IMHO.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by DaanHoogland <gi...@git.apache.org>.
Github user DaanHoogland commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-167496523
  
    @bhaisaab did you check the internet explorer claim that sonarqube makes?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by DaanHoogland <gi...@git.apache.org>.
Github user DaanHoogland commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1288#discussion_r49930663
  
    --- Diff: ui/plugins/plugins.js ---
    @@ -16,7 +16,7 @@
     // under the License.
     (function($, cloudStack) {
       cloudStack.plugins = [
    -    'quota',
    -    //'testPlugin'
    +    //'testPlugin',
    --- End diff --
    
    fine but out of scope


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-172192646
  
    sure


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-167405856
  
    @DaanHoogland IMO, we don't have a javascript checkstyle or linter; and such things are non-issues, I would say either have a checkstyle like build step (like a linter) for JS code included in our maven build or disable in SonarQube.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by runseb <gi...@git.apache.org>.
Github user runseb commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-176107957
  
    Hi @bhaisaab I am genuinely asking because of the new release principles:
    https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+principles+for+Apache+CloudStack+4.6+and+up
    
    where we agreed to apply to release branches and merge forward.
    
    Now this is not a bug per se, so could go directly to master, but I think it could be applied as a "fix" and merged forward


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1288#discussion_r48466808
  
    --- Diff: ui/plugins/plugins.js ---
    @@ -16,7 +16,7 @@
     // under the License.
     (function($, cloudStack) {
       cloudStack.plugins = [
    -    'quota',
    -    //'testPlugin'
    +    //'testPlugin',
    --- End diff --
    
    also, why not remote the testPlugin folder and the test plugin js etc. implementation?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by runseb <gi...@git.apache.org>.
Github user runseb commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-175833323
  
    Folks, I did not have time to fully test the new merging process from @DaanHoogland and @remibergsma but let's assume this is good to merge should this really be merged in master first. What about the other release branches @bhaisaab ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by DaanHoogland <gi...@git.apache.org>.
Github user DaanHoogland commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-172191734
  
    @bhaisaab we do not have anything better the sonarqube atm. so let's listen to it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by runseb <gi...@git.apache.org>.
Github user runseb commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-176115753
  
    @bhaisaab @remibergsma @DaanHoogland ok then, just checking.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-175689026
  
    LGTM, merging based on comments and tests


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab commented on the pull request:

    https://github.com/apache/cloudstack/pull/1288#issuecomment-176045486
  
    @runseb this was sent for master as the author intended, non-issue actually but would satisfy SonarQube from showing up redflags


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: trailing commas in javascripts removed

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cloudstack/pull/1288


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---