[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli edited a comment on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers This is the [Mergerequest|https://github.com/jenkinsci/filesystem_scm-plugin/pull/9] which should resolve this issue .Ernst can you check it out and test it? Thank you. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli edited a comment on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers This is the [ Mergerequest |https://github.com/jenkinsci/filesystem_scm-plugin/pull/9] which should resolve this issue Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli commented on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers This is the Mergerequest which should resolve this issue Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli assigned an issue to Jens Rogalli Jenkins / JENKINS-49561 FSSCM Does Not Update File Modifiers Change By: Jens Rogalli Assignee: Oleg Nenashev Jens Rogalli Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli started work on JENKINS-49561 Change By: Jens Rogalli Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli commented on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers Oleg Nenashev Ok then I will implement it as an extra option. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli commented on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers That does not make any difference. The implementation would be that simple anyway. The problems arise by the underlying implementations see: https://stackoverflow.com/questions/10783677/how-to-check-file-permissions-in-java-os-independently just as one example. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Ernst de Haan commented on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers Would it make sense to just implement something very simple, like this: if the permissions are different, just copy the whole file again Would that cause potential regression / defects? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Oleg Nenashev commented on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers I agree that fixing this bug is regression-prone. OTOH it is always possible the behavior changes opt-in and configurable via advanced options. If you do so, jt will be safe to experiment with behaviors. You could even mark the new flag as experinental so that theee will be a room for breaking changes before it gets fully fixed P.S: Personally I use the plugin only for read-only data Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli edited a comment on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers I checked the code and yes you are right this will happen.Why is it happening: The code checks for modification dates, but changing file Permissions / modifiers does not change the date.File permissions seem to be be a troublesome topic, especially in Windows. So any code modification to achieve the desired behavior, will lead, in my opinion to more bug reports. Or to an exclusion list like File Permissions will be checked but, under windows x with Java y it might not work.Maybe this topic should be rest rested as a known bug and be documented. Lets ask [~oleg_nenashev]. I could implement it if he approves the topic to be worthwhile implementing. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Jens Rogalli commented on JENKINS-49561 Re: FSSCM Does Not Update File Modifiers I checked the code and yes you are right this will happen. Why is it happening: The code checks for modification dates, but changing file Permissions / modifiers does not change the date. File permissions seem to be be a troublesome topic, especially in Windows. So any code modification to achieve the desired behavior, will lead, in my opinion to more bug reports. Or to an exclusion list like File Permissions will be checked but, under windows x with Java y it might not work. Maybe this topic should be rest as a known bug and be documented. Lets ask Oleg Nenashev. I could implement it if he approves the topic to be worthwhile implementing. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49561) FSSCM Does Not Update File Modifiers
Title: Message Title Ernst de Haan created an issue Jenkins / JENKINS-49561 FSSCM Does Not Update File Modifiers Issue Type: Bug Assignee: Oleg Nenashev Components: filesystem_scm-plugin Created: 2018-02-14 18:35 Environment: Jenkins ver. 2.60.3 Filesystem SCM Plugin 2.0 Priority: Major Reporter: Ernst de Haan Steps to reproduce: Have a Jenkins job that uses the FSSCM plugin to copy from the file system into the workspace. Execute the job at least once. Change the modifiers on one of the files in the origin location, e.g. change the x (executable) bit from off to on (e.g. chmod +x filename) Re-execute the job. Expected result: The modifier bit changes also in the checked-out version of the respective file. Actual result: The modifier bit does not change.