[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-10-02 Thread alexreg
Github user alexreg commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
Surely the whitespace settings should simply be maintained, like NPM/Yarn 
does? i.e. if it's already using tabs, keep tabs, and keep the number of spaces 
being used.


---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-09-25 Thread jcesarmobile
Github user jcesarmobile commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
There is also https://issues.apache.org/jira/browse/CB-13009, they are 
similar, not sure if duplicated


---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



Re: [GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...,

2017-09-25 Thread Giorgio Natili
,,

On Tue, May 16, 2017 at 12:20 PM stevengill  wrote:

> Github user stevengill commented on the issue:
>
> https://github.com/apache/cordova-lib/pull/558
>
> really good point. We should switch to two like npm.
>
>
> ---
> 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 infrastruct...@apache.org or file a JIRA ticket
> with INFRA.
> ---
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
> For additional commands, e-mail: dev-h...@cordova.apache.org
>
> --
Sorry for the brevity, Sent from Gmail Mobile


[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-07-17 Thread stevengill
Github user stevengill commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
Hey @G-Rath 

CB-12810 is very much still open :). 
https://issues.apache.org/jira/browse/CB-12810

Thanks for your comment. This is something we will hopefully get to soon.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-07-16 Thread G-Rath
Github user G-Rath commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
@stevengill I really agree with @uloco - Not only for the reason of 
consistent, but because the constant removal of the last line is picked up by 
VCSs, which can be really annoying. 

While you've attached uloco's comment to CB-12810, I've noticed that it's 
been marked as fixed. 

Because of the way the new line removal effects VCSs, I'd consider this a 
bug (even if a minor one).

While I'm happy to (and normally would just) file a bug report, since 
you've already commented on it, and there is technically an issue already for 
it, can I leave it in your hands to make sure this gets considered?

Thanks :)


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-06-09 Thread uloco
Github user uloco commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
You should also keep the last line if it's empty in both, `package.json` 
and `config.xml`.
The [POSIX 
standard](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206)
 defines a line like this:

> 3.206 Line
> A sequence of zero or more non-  characters plus a terminating 
 character.

A lot of us are developing on UNIX systems and are following this practice. 
It would be nice, if you could help us keeping it consistent.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-06-09 Thread uloco
Github user uloco commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
@stevengill Go for it. I don't have an account there...


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-06-08 Thread stevengill
Github user stevengill commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
@uloco want to add your comment to this issue: 
https://issues.apache.org/jira/browse/CB-12810


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-06-08 Thread uloco
Github user uloco commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
When adding platforms or plugins, you also perform a config.xml rewrite. 
Will this merge affect config.xml indentation rewrites, too? I do use 2 space 
indentation everywhere. It would be nice if you could just get the default 
indentation for the file and use the present one. Is this possible or worked on 
anywhere else?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-06-02 Thread stevengill
Github user stevengill commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
merged


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-06-01 Thread purplecabbage
Github user purplecabbage commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
+1, let's merge this.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-05-21 Thread mraerino
Github user mraerino commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
Is this going to be merged?
The current behavior really messes up my workflow.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-05-16 Thread remcohaszing
Github user remcohaszing commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
@piotrowski I did a regex replace to replace all occurrences of 
`JSON.stringify`, so basically this affects all JSON files that are modified by 
Cordova.

I think this is a pretty complete list of the files affected:

- *.cordova/config.json*
- *plugins/fetch.json*
- *plugins/[platform].json*
- *package.json*


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org



[GitHub] cordova-lib issue #558: CB-12766 Consistently write JSON with 2 spaces inden...

2017-05-16 Thread piotrowski
Github user piotrowski commented on the issue:

https://github.com/apache/cordova-lib/pull/558
  
Which files will this affect?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org