{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/8823","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/8823/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/8823/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/8823/events","html_url":"https://github.com/Elgg/Elgg/issues/8823","id":99612326,"number":8823,"title":"\"composer update\" should not overwrite modifications in .htaccess","user":{"login":"juho-jaakkola","id":883920,"avatar_url":"https://avatars.githubusercontent.com/u/883920?v=3","gravatar_id":"","url":"https://api.github.com/users/juho-jaakkola","html_url":"https://github.com/juho-jaakkola","followers_url":"https://api.github.com/users/juho-jaakkola/followers","following_url":"https://api.github.com/users/juho-jaakkola/following{/other_user}","gists_url":"https://api.github.com/users/juho-jaakkola/gists{/gist_id}","starred_url":"https://api.github.com/users/juho-jaakkola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juho-jaakkola/subscriptions","organizations_url":"https://api.github.com/users/juho-jaakkola/orgs","repos_url":"https://api.github.com/users/juho-jaakkola/repos","events_url":"https://api.github.com/users/juho-jaakkola/events{/privacy}","received_events_url":"https://api.github.com/users/juho-jaakkola/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Elgg/Elgg/milestones/60","html_url":"https://github.com/Elgg/Elgg/milestones/Elgg%202.0.x","labels_url":"https://api.github.com/repos/Elgg/Elgg/milestones/60/labels","id":404754,"number":60,"title":"Elgg 2.0.x","description":"","creator":{"login":"ewinslow","id":356564,"avatar_url":"https://avatars.githubusercontent.com/u/356564?v=3","gravatar_id":"","url":"https://api.github.com/users/ewinslow","html_url":"https://github.com/ewinslow","followers_url":"https://api.github.com/users/ewinslow/followers","following_url":"https://api.github.com/users/ewinslow/following{/other_user}","gists_url":"https://api.github.com/users/ewinslow/gists{/gist_id}","starred_url":"https://api.github.com/users/ewinslow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewinslow/subscriptions","organizations_url":"https://api.github.com/users/ewinslow/orgs","repos_url":"https://api.github.com/users/ewinslow/repos","events_url":"https://api.github.com/users/ewinslow/events{/privacy}","received_events_url":"https://api.github.com/users/ewinslow/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":102,"state":"open","created_at":"2013-08-19T00:23:53Z","updated_at":"2015-08-28T15:02:11Z","due_on":"2015-09-05T21:00:00Z","closed_at":null},"comments":6,"created_at":"2015-08-07T09:18:38Z","updated_at":"2015-08-31T05:11:17Z","closed_at":"2015-08-28T15:02:11Z","body":"Modifications to ```.htaccess``` get lost when running ```composer update``` because it always copies ```htaccess_dist``` to ```.htaccess```.\r\n\r\nTheoretically we could compare the ```.htaccess``` and ```htaccess_dist``` files, but there isn't really an easy way to find out whether the possible difference is made by an admin or caused by updates in ```htaccess_dist```.\r\n\r\nSo I guess we should be adding ```.htaccess``` only when doing ```composer install```."},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/136255565","html_url":"https://github.com/Elgg/Elgg/issues/8823#issuecomment-136255565","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/8823","id":136255565,"user":{"login":"ewinslow","id":356564,"avatar_url":"https://avatars.githubusercontent.com/u/356564?v=3","gravatar_id":"","url":"https://api.github.com/users/ewinslow","html_url":"https://github.com/ewinslow","followers_url":"https://api.github.com/users/ewinslow/followers","following_url":"https://api.github.com/users/ewinslow/following{/other_user}","gists_url":"https://api.github.com/users/ewinslow/gists{/gist_id}","starred_url":"https://api.github.com/users/ewinslow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewinslow/subscriptions","organizations_url":"https://api.github.com/users/ewinslow/orgs","repos_url":"https://api.github.com/users/ewinslow/repos","events_url":"https://api.github.com/users/ewinslow/events{/privacy}","received_events_url":"https://api.github.com/users/ewinslow/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T05:11:16Z","updated_at":"2015-08-31T05:11:16Z","body":"post-update-cmd basically just gives Elgg/elgg permission to install scripts at the root of the project."}}