Merge pull request #384 from WilliButz/fix-maintainer-detection
maintainers: compare maintainer usernames in lowercase
This commit is contained in:
commit
f2a893c9ff
|
@ -77,7 +77,7 @@ let
|
|||
(builtins.map
|
||||
(pkg:
|
||||
builtins.map (maintainer: {
|
||||
handle = maintainer.github;
|
||||
handle = pkgs.lib.toLower maintainer.github;
|
||||
packageName = pkg.name;
|
||||
dueToFiles = pkg.filenames;
|
||||
})
|
||||
|
|
|
@ -12,7 +12,7 @@ pub struct MaintainersByPackage(pub HashMap<Package, HashSet<Maintainer>>);
|
|||
pub struct Maintainer(String);
|
||||
impl<'a> From<&'a str> for Maintainer {
|
||||
fn from(name: &'a str) -> Maintainer {
|
||||
Maintainer(name.to_owned())
|
||||
Maintainer(name.to_ascii_lowercase().to_owned())
|
||||
}
|
||||
}
|
||||
#[derive(Deserialize, Clone, Debug, Eq, PartialEq, Hash)]
|
||||
|
|
Loading…
Reference in a new issue