[galaxy-dev] how is metadata generated