{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/opam/issues/2046","labels_url":"https://api.github.com/repos/ocaml/opam/issues/2046/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/opam/issues/2046/comments","events_url":"https://api.github.com/repos/ocaml/opam/issues/2046/events","html_url":"https://github.com/ocaml/opam/issues/2046","id":60185535,"number":2046,"title":"Deprecating packages","user":{"login":"dbuenzli","id":485596,"avatar_url":"https://avatars.githubusercontent.com/u/485596?v=3","gravatar_id":"","url":"https://api.github.com/users/dbuenzli","html_url":"https://github.com/dbuenzli","followers_url":"https://api.github.com/users/dbuenzli/followers","following_url":"https://api.github.com/users/dbuenzli/following{/other_user}","gists_url":"https://api.github.com/users/dbuenzli/gists{/gist_id}","starred_url":"https://api.github.com/users/dbuenzli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbuenzli/subscriptions","organizations_url":"https://api.github.com/users/dbuenzli/orgs","repos_url":"https://api.github.com/users/dbuenzli/repos","events_url":"https://api.github.com/users/dbuenzli/events{/privacy}","received_events_url":"https://api.github.com/users/dbuenzli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-07T02:20:39Z","updated_at":"2015-10-26T15:24:39Z","closed_at":null,"body":"Is there a package deprecation mechanism in opam ? \r\n\r\nI would like to deprecate [`rtime`](http://erratique.ch/software/rtime) which was a proof of concept module and I highly doubt anybody is using it (I don't). \r\n\r\nMaybe a field could be introduced in opam files for that. Adititional useful metadata would be a global reason for deprecation (e.g. to warn the user on usage) and a list of `package * reason` alternatives for the package (I'm thinking here about the case of a package that has been exploded in sub packages).\r\n"},"comment":{"url":"https://api.github.com/repos/ocaml/opam/issues/comments/151173402","html_url":"https://github.com/ocaml/opam/issues/2046#issuecomment-151173402","issue_url":"https://api.github.com/repos/ocaml/opam/issues/2046","id":151173402,"user":{"login":"agarwal","id":112173,"avatar_url":"https://avatars.githubusercontent.com/u/112173?v=3","gravatar_id":"","url":"https://api.github.com/users/agarwal","html_url":"https://github.com/agarwal","followers_url":"https://api.github.com/users/agarwal/followers","following_url":"https://api.github.com/users/agarwal/following{/other_user}","gists_url":"https://api.github.com/users/agarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/agarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarwal/subscriptions","organizations_url":"https://api.github.com/users/agarwal/orgs","repos_url":"https://api.github.com/users/agarwal/repos","events_url":"https://api.github.com/users/agarwal/events{/privacy}","received_events_url":"https://api.github.com/users/agarwal/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T15:24:39Z","updated_at":"2015-10-26T15:24:39Z","body":"For now, updating the [descr](https://github.com/ocaml/opam-repository/blob/master/compilers/4.02.0/4.02.0/4.02.0.descr) should help. Just add \"(deprecated)\" to the string.\r\n\r\nCompilers are not often deprecated, so my 2 cents is that engineering a solution for that use case isn't justified. Deprecating packages sounds more useful to me. This discussion is related to #1879."}}