solus-project / ypkg

Modern, declarative, structured build format
https://solus-project.com/
GNU General Public License v3.0
56 stars 20 forks source link

[Feature] Default FileType for /usr/share/help #18

Closed DataDrake closed 8 years ago

DataDrake commented 8 years ago

Currently, metadata.py will mark any file in /usr/share/help as data and individually list them in the PSPEC file. I suggest that we set a default FileType for /usr/share/help to prevent this verbose behavior.

Perhaps "doc"? It used to just be "data"

Example:

`

/usr/bin /usr/share/help/C/zenity/calendar.page /usr/share/help/C/zenity/color-selection.page /usr/share/help/C/zenity/entry.page /usr/share/help/C/zenity/error.page /usr/share/help/C/zenity/figures/zenity-calendar-screenshot.png /usr/share/help/C/zenity/figures/zenity-colorselection-screenshot.png /usr/share/help/C/zenity/figures/zenity-entry-screenshot.png /usr/share/help/C/zenity/figures/zenity-error-screenshot.png /usr/share/help/C/zenity/figures/zenity-fileselection-screenshot.png /usr/share/help/C/zenity/figures/zenity-forms-screenshot.png /usr/share/help/C/zenity/figures/zenity-information-screenshot.png /usr/share/help/C/zenity/figures/zenity-list-screenshot.png /usr/share/help/C/zenity/figures/zenity-notification-screenshot.png /usr/share/help/C/zenity/figures/zenity-password-screenshot.png /usr/share/help/C/zenity/figures/zenity-progress-screenshot.png /usr/share/help/C/zenity/figures/zenity-question-screenshot.png /usr/share/help/C/zenity/figures/zenity-scale-screenshot.png /usr/share/help/C/zenity/figures/zenity-text-screenshot.png /usr/share/help/C/zenity/figures/zenity-warning-screenshot.png /usr/share/help/C/zenity/file-selection.page ............

`

vs

<Path fileType="data">/usr/share/help</Path>

ikeydoherty commented 8 years ago

Fixed ty :)

DataDrake commented 8 years ago

thanks ikey!