Shugabuga / Silica

A static site generator for MobileAPT repos.
https://silica.shuga.co/
Other
160 stars 38 forks source link

Package maintainer gets overwritten by repo maintainer #2

Closed PatrikTheDev closed 5 years ago

PatrikTheDev commented 5 years ago

The package maintainer gets overwritten by the repo maintainer, so the packages appear as they are by me, which they are not

Shugabuga commented 5 years ago

Thank you for reporting this! The issue is actually a bit worse than it being overridden; Silica just doesn't know how to read the maintainer and doesn't port it. This isn't intentional and is a mistake of how I perceived the Maintainer role to be (repo maintainer vs. package maintainer). I will be fixing this.

Shugabuga commented 5 years ago

I believe this is fixed in 1.0.1, which should be out soon. It will read the maintainer from the DEB as it should, put JSON similar to what is below, and Silica will read this and set it as the maintainer. If none is provided, it will use the package's author.

"maintainer": {
    "name": "Shuga",
    "email": "sileo@shuga.co"
}