Let me know your thoughts on this minor issue in a reply here. And if you haven't checked out our SonarQube or looked at the Technical Debt page recently, please do so.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e2163176-b134-4dcf-8918-48f568198679%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/4FA428FF-4962-4AED-92B4-4D5F0D2FB04A%40villagereach.org.
I vote for option 2, changing to the dot notation (no hyphens).
FWIW, I had looked into what it might take to customize this Sonar rule (to allow hyphens as our current style guide does). It seemed like a real pain to create our own rule. There is not an off-the-shelf rule with a regex that allows the hyphens, and there was not a setting where we could just re-configure the regex. We are currently using the SonarWay ruleset, and we haven’t modified it at all. Modifying it means we would have to “fork” the ruleset to start making our own local modifications. But by “forking” the ruleset it appeared as though we would always have to manually do effort to incorporate the new SonarWay default rules as those evolve over time. If I understood Sonar’s docs correctly, I think we’d be better off changing our style guide to fit the industry convention rather than forking the ruleset and going through all that trouble. Phew!
-Brandon
referencedata.error.product.dispensing.units.wrong
--
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e2163176-b134-4dcf-8918-48f568198679%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Darius JazayeriPrincipal Architect - Global Health
Telephone
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/4FA428FF-4962-4AED-92B4-4D5F0D2FB04A%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
openlmis-dev...@googlegroups.com.
To post to this group, send email to
openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/4D9B138B-C645-40BE-9943-486080DDE032%40villagereach.org.
I'll second option 2
Question: Are we standardizing on using multiple dots or camelCase? — I'd like to get this decision made so the UI work gets done once and not twice
-- nick --
Nick Reid | nick...@villagereach.org
Friendly Neighborhood
Spiderman, Information Systems Group
VillageReach Starting
at the Last Mile
2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USA
CELL: +1.510.410.0020
SKYPE: nickdotreid
www.villagereach.org
--
Sebastian Brudziński
Software Developer / Team Leader
sbrud...@soldevelo.com
SolDevelo Sp. z o. o. [LLC]
Office: +48 58 782 45 40 / Fax: +48 58 782 45 41
Al. Zwycięstwa 96/98 81-451,
Gdynia
http://www.soldevelo.com
Place of registration: Regional Court for the City of
Gdansk KRS: 0000332728, TAX ID: PL5862240331,
REGON: 220828585,
Share capital: 60,000.00 PLN
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/BN6PR02MB2625745297B71EEDC444134794600%40BN6PR02MB2625.namprd02.prod.outlook.com.
On Jan 9, 2017, at 3:02 PM, Sebastian Brudziński <sbrud...@soldevelo.com> wrote:
Hello.
I'm OK with both options. My personal preference is no hyphens and camelCase, rather than multiple dots. I think keys with many dots are a little less readable and with less dots we can create a nice, hierarchical/logical structure.
Kind regards,
Sebastian.
--
SolDevelo Sp. z o. o. [LLC]
Office: +48 58 782 45 40 / Fax: +48 58 782 45 41Al. Zwycięstwa 96/9881-451, Gdynia
http://www.soldevelo.com
Place of registration: Regional Court for the City of GdanskKRS: 0000332728, TAX ID: PL5862240331, REGON: 220828585,Share capital: 60,000.00 PLN
referencedata.error.product.dispensing.units.wrong
Let me know your thoughts on this minor issue in a reply here. And if you haven't checked out ourSonarQube or looked at the Technical Debt page recently, please do so.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/ab9db6db-d7b4-4dcd-6ce6-3da6c261b1f1%40soldevelo.com.
Hey all,
The reason why I prefer using hyphens over simply dots is so that dots are not being used for multiple purposes (categorization AND multi-word phrasing). With something like referencedata.error.product.wrong.dispensing.units; we are having dots do double duty, which makes the key harder to understand. This is why we had dots for categorization and hyphens for multiple words in a phrase. We could try to solve that using camelCase instead of hyphens, but I would prefer not to simply use dots.
Shalom,
Chongsun
--
There are 10 kinds of people in this world; those who understand binary, and those who don’t.
Chongsun Ahn | chongsun.ahn@villagereach.org
Friendly NeighborhoodSpiderman, Information Systems Group
VillageReach Starting at the Last Mile
2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USA
CELL: +1.510.410.0020
SKYPE: nickdotreid
www.villagereach.org
From: openlmis-dev@googlegroups.com <openlmis-d...@googlegroups.com> on behalf of Brandon Bowersox-Johnson<brandon.bowersox-johnson@villagereach.org>
referencedata.error.product.dispensing.units.wrong
--
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlmis-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/e2163176-b134-4dcf-8918-48f568198679%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Darius JazayeriPrincipal Architect - Global HealthTelephone
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlmis-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/4FA428FF-4962-4AED-92B4-4D5F0D2FB04A%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlmis-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/4D9B138B-C645-40BE-9943-486080DDE032%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlmis-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/81D287F2-3141-4BA5-8740-AE16892BE1D7%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlmis-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/BN6PR02MB2625745297B71EEDC444134794600%40BN6PR02MB2625.namprd02.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlmis-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/ab9db6db-d7b4-4dcd-6ce6-3da6c261b1f1%40soldevelo.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/84ACE850-F362-45DF-A168-4DF945938C31%40villagereach.org.
Sebastian Brudziński
Software Developer / Team Leader
sbrud...@soldevelo.com
SolDevelo Sp. z o. o. [LLC]
Office: +48 58 782 45 40 / Fax: +48 58 782 45 41
Al. Zwycięstwa 96/98 81-451,
Gdynia
http://www.soldevelo.com
Place of registration: Regional Court for the City of
Gdansk KRS: 0000332728, TAX ID: PL5862240331,
REGON: 220828585,
Share capital: 60,000.00 PLN
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/CAOKb-R6TGa4uQ_jZ4%3D_1acLqyieU80mHKXQ9ZUQxyUWGu-STsw%40mail.gmail.com.
Hi all,
From what I see the sonar rule allows to use camelCase in keys in
properties file. Also for me dots and camelCase are more related
with Java but I see spring properties use hyphens (spring.jpa.hibernate.naming.implicit-strategy)
and underscores (spring.jpa.properties.hibernate.hbm2ddl.import_files)
.
Regards,
Łukasz
Łukasz Lewczyński
Software Developer
llewc...@soldevelo.com
SolDevelo Sp. z o. o. [LLC]
Office: +48 58 782 45 40 / Fax: +48 58 782 45 41 Al. Zwycięstwa 96/98 81-451, Gdynia
http://www.soldevelo.com
Place of registration: Regional Court for the City of
Gdansk KRS: 0000332728, TAX ID:
PL5862240331, REGON: 220828585, Share capital:
60,000.00 PLN
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/5874A14F.5080100%40soldevelo.com.
Hey all,
From: openlmis-dev@googlegroups.com <openlmis-dev@googlegroups.com> on behalf of Brandon Bowersox-Johnson<brandon.bowersox-johnson@villagereach.org>
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/CAOKb-R6TGa4uQ_jZ4%3D_1acLqyieU80mHKXQ9ZUQxyUWGu-STsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
I think your pull request (option 2) makes good sense.
I also suggest you add a sentence “Keys cannot include hyphens or other punctuation”.
I think we got a good variety of input on it, and the consensus leaned towards option 2. Whatever final decision you make, I believe everyone will feel that their voice was heard.
-Brandon
From:
<openlm...@googlegroups.com> on behalf of Josh Zamor <josh....@villagereach.org>
Date: Tuesday, January 10, 2017 at 1:12 PM
To: OpenLMIS Dev <openlm...@googlegroups.com>
Subject: Re: [openlmis-dev] SonarQube Rule: Message Key guidelines
Agreed that there's nothing inherently wrong with hyphens or the style guide as is.
Hey all,
Chongsun Ahn | chongs...@villagereach.org
Nick Reid | nick...@villagereach.org
Friendly Neighborhood
Spiderman, Information Systems Group
VillageReach Starting at the Last Mile
2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USA
CELL: +1.510.410.0020
SKYPE: nickdotreid
www.villagereach.org
From: openlm...@googlegroups.com <openlmis-d...@googlegroups.com> on behalf of Brandon Bowersox-Johnson<brandon.bowe...@villagereach.org>
Sent: Wednesday, January 4, 2017 3:15:43 PM
To: OpenLMIS Dev
Subject: Re: [openlmis-dev] SonarQube Rule: Message Key guidelines
I vote for option 2, changing to the dot notation (no hyphens).
FWIW, I had looked into what it might take to customize this Sonar rule (to allow hyphens as our current style guide does). It seemed like a real pain to create our own rule. There is not an off-the-shelf rule with a regex that allows the hyphens, and there was not a setting where we could just re-configure the regex. We are currently using the SonarWay ruleset, and we haven’t modified it at all. Modifying it means we would have to “fork” the ruleset to start making our own local modifications. But by “forking” the ruleset it appeared as though we would always have to manually do effort to incorporate the new SonarWay default rules as those evolve over time. If I understood Sonar’s docs correctly, I think we’d be better off changing our style guide to fit the industry convention rather than forking the ruleset and going through all that trouble. Phew!
-Brandon
From: <openlm...@googlegroups.com> on behalf of Josh Zamor <josh....@villagereach.org>
Date: Wednesday, January 4, 2017 at 12:41 PM
To: Darius Jazayeri <djaz...@thoughtworks.com>
Cc: OpenLMIS Dev <openlm...@googlegroups.com>
referencedata.error.product.dispensing.units.wrong
1.