{"action":"created","issue":{"url":"https://api.github.com/repos/sahib/rmlint/issues/197","repository_url":"https://api.github.com/repos/sahib/rmlint","labels_url":"https://api.github.com/repos/sahib/rmlint/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/sahib/rmlint/issues/197/comments","events_url":"https://api.github.com/repos/sahib/rmlint/issues/197/events","html_url":"https://github.com/sahib/rmlint/issues/197","id":188799290,"number":197,"title":"New option: Consider mtime (modification time)","user":{"login":"Awerick","id":23130393,"avatar_url":"https://avatars.githubusercontent.com/u/23130393?v=3","gravatar_id":"","url":"https://api.github.com/users/Awerick","html_url":"https://github.com/Awerick","followers_url":"https://api.github.com/users/Awerick/followers","following_url":"https://api.github.com/users/Awerick/following{/other_user}","gists_url":"https://api.github.com/users/Awerick/gists{/gist_id}","starred_url":"https://api.github.com/users/Awerick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Awerick/subscriptions","organizations_url":"https://api.github.com/users/Awerick/orgs","repos_url":"https://api.github.com/users/Awerick/repos","events_url":"https://api.github.com/users/Awerick/events{/privacy}","received_events_url":"https://api.github.com/users/Awerick/received_events","type":"User","site_admin":false},"labels":[{"id":169362839,"url":"https://api.github.com/repos/sahib/rmlint/labels/Discussion","name":"Discussion","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-11T16:36:44Z","updated_at":"2016-11-19T16:08:58Z","closed_at":null,"body":"I would like to have an option to **not** consider files with the same content but different mtimes (\"modification time\") as duplicates.\r\n_Reason:_ Sometimes the mtime carries semantic/pragmatic information which makes it desirable to keep it!"},"comment":{"url":"https://api.github.com/repos/sahib/rmlint/issues/comments/261722519","html_url":"https://github.com/sahib/rmlint/issues/197#issuecomment-261722519","issue_url":"https://api.github.com/repos/sahib/rmlint/issues/197","id":261722519,"user":{"login":"Awerick","id":23130393,"avatar_url":"https://avatars.githubusercontent.com/u/23130393?v=3","gravatar_id":"","url":"https://api.github.com/users/Awerick","html_url":"https://github.com/Awerick","followers_url":"https://api.github.com/users/Awerick/followers","following_url":"https://api.github.com/users/Awerick/following{/other_user}","gists_url":"https://api.github.com/users/Awerick/gists{/gist_id}","starred_url":"https://api.github.com/users/Awerick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Awerick/subscriptions","organizations_url":"https://api.github.com/users/Awerick/orgs","repos_url":"https://api.github.com/users/Awerick/repos","events_url":"https://api.github.com/users/Awerick/events{/privacy}","received_events_url":"https://api.github.com/users/Awerick/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T16:08:58Z","updated_at":"2016-11-19T16:08:58Z","body":"Well, I don't think it was sloppy work as it works fine for usual scenarios!\r\nOnly if edge cases occur it gets complex/problematic – therefore I actually did not expect you to implement it ;-)  I only came up with the possible behaviors and problems when you implemented it, so I am also not sure whether I considered everything correctly.\r\nIf you are still going to implement it, I am looking forward to it, but the more simple `--consider-mtime` already worked fine for me.\r\n\r\nRegarding the milliseconds resolution: Thanks for the info. Having a finer resolution would probably be good, but I understand that portability is a concern.\r\n\r\n* * * * *\r\nThree other things I stumbled upon:\r\n -  Just a remark: If the _generated script_ is run in paranoia mode (`-p`), it only rechecks that the content is still identical, it does not recheck the mtime. I think this is ok as an mtime change after the script was generated is extremely rare. But I wanted to mention it in case you think it should be addressed or explained in the manual/help output of this option.\r\n -  The short option `-z` (that is now used as a short option for considering the mtime) seems to be already used for `--perms` in `rmlint`.\r\n -  Speaking of permissions and because it is a related scenario, I am curious (although currently not affected by it): Files with same content but different permissions are considered duplicates – and currently there is no option to consider this, right? (Same for the other two metadata entries: owner and group? Sorry for bringing up/speaking about another of these meta-data scenarios... :blush:)"}}
{"actor":{"display_login":"Awerick"}}