A good practice for reproducible research and code is to report the session information. I believe there should be a better and more complete solution especially relying on Revise.jl and hopefully is something implemented in Pkg3. My patch up version is
using Pkg
function sessioninfo()
println("Julia " * string(VERSION))
for (key, version) ∈ sort(collect(Pkg.installed()))
try
isa(eval(Symbol(key)), Module) && println(key * " " * string(version))
end
end
end