Are there any proposals to make sharing code and data with publications a requirement?
I don't know any global regulations, but scientific community understand the problem that you  described and that is why github recently made it possible to get a Digital Object Identifier (DOI) for any GitHub repository archive (blog post) making the code citable.

As far as I remember any DOI should be maintained for at least 10 years.