[JIRA] Created: (JENKINS-10005) Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Created: (JENKINS-10005) Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin

JIRA noreply@jenkins-ci.org
Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin
--------------------------------------------------------------------------------

                 Key: JENKINS-10005
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10005
             Project: Jenkins
          Issue Type: Improvement
          Components: role-strategy
         Environment: Jenkins 1.410, role-strategy 1.1
            Reporter: Kuh Kro
            Assignee: rseguy
            Priority: Minor


this plugin outputs data to config.xml without sorting elements, for example:

    * permissions/pemisson
    * assignedSIDs/sid

Of course, this is no harm, but as a result,
simple diff of config.xml (ex. jobConfigHistory plugin) becomes very dirty ...

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-10005) Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin

JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149507#comment-149507 ]

Kuh Kro commented on JENKINS-10005:
-----------------------------------

I found this tiny problem when using *role-strategy and jobConfigHistory* plugin.
When someone added 1 job, I checked system config.xml with jobConfigHistory's diff display.
Of course, diff output in this case should be 1 line, but nearly 50 lines appeared :(

(!) *However, this tiny problem may occur in other plugins and all kind of software code*

> Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin
> --------------------------------------------------------------------------------
>
>                 Key: JENKINS-10005
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10005
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: role-strategy
>         Environment: Jenkins 1.410, role-strategy 1.1
>            Reporter: Kuh Kro
>            Assignee: rseguy
>            Priority: Minor
>
> this plugin outputs data to config.xml without sorting elements, for example:
>     * permissions/pemisson
>     * assignedSIDs/sid
> Of course, this is no harm, but as a result,
> simple diff of config.xml (ex. jobConfigHistory plugin) becomes very dirty ...

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] Commented: (JENKINS-10005) Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149659#comment-149659 ]

Kuh Kro commented on JENKINS-10005:
-----------------------------------

BTW, 'pemisson' is your typo ?
It was found by spell checker of Firefox !

I know my coworker who had typoed his function name as 'sygnal' and since that time, this name had been used for 10 years and more ..

> Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin
> --------------------------------------------------------------------------------
>
>                 Key: JENKINS-10005
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10005
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: role-strategy
>         Environment: Jenkins 1.410, role-strategy 1.1
>            Reporter: Kuh Kro
>            Assignee: rseguy
>            Priority: Minor
>
> this plugin outputs data to config.xml without sorting elements, for example:
>     * permissions/pemisson
>     * assignedSIDs/sid
> Of course, this is no harm, but as a result,
> simple diff of config.xml (ex. jobConfigHistory plugin) becomes very dirty ...

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-10005) Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Seguy reassigned JENKINS-10005:
--------------------------------------

    Assignee: Daniel Petisme  (was: Romain Seguy)
   

> Unsorted output makes 'diff' dirty and difficult to read : Role Strategy Pluigin
> --------------------------------------------------------------------------------
>
>                 Key: JENKINS-10005
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-10005
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: role-strategy
>         Environment: Jenkins 1.410, role-strategy 1.1
>            Reporter: Kuh Kro
>            Assignee: Daniel Petisme
>            Priority: Minor
>
> this plugin outputs data to config.xml without sorting elements, for example:
>     * permissions/pemisson
>     * assignedSIDs/sid
> Of course, this is no harm, but as a result,
> simple diff of config.xml (ex. jobConfigHistory plugin) becomes very dirty ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Loading...