#135 weird order of automatically detected %license files
Closed: Fixed 2 years ago by zbyszek. Opened 2 years ago by decathorpe.

The order of the automatically detected %license files seems to be pretty arbitrary - is it reverse lexicographic order? I noticed it first with some crates that use ASL 2.0 or MIT as their license instead of MIT or ASL 2.0, but the licenses were still listed as LICENSE-MIT LICENSE-APACHE.

In the case of the globset crate, it reordered %license COPYING UNLICENSE LICENSE-MIT to %license UNLICENSE LICENSE-MIT COPYING, supporting my "reverse-lexicographical order` theory :)

In any case, the order is weird, and it should either follow the order of licenses in the License tag, or just sort the files alphabetically.

CC @eclipseo


Login to comment on this ticket.

Metadata
Related Pull Requests
  • #137 Merged 2 years ago