sonnyp / Commit

Commit message editor

Home Page:https://apps.gnome.org/Commit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add maintainer info for Apps for GNOME

A6GibKm opened this issue · comments

For the maintainer to appear in Apps for gnome it must contain info about the git forge account

  <maintainer>
    <foaf:Person>
      <foaf:name>User Name</foaf:name>
      <foaf:mbox rdf:resource="mailto:user-email@emailprovider.org" />
      <gnome:userid>gnome-user-acc</gnome:userid>
      <foaf:account>
        <foaf:OnlineAccount>
            <foaf:accountServiceHomepage rdf:resource="https://github.com/"/>
            <foaf:accountName>user-github-acc</foaf:accountName>
        </foaf:OnlineAccount>
      </foaf:account>
    </foaf:Person>
  </maintainer>
commented

like this d04d058 ?

commented

Can I specify multiple accounts like so

  <maintainer>
    <foaf:Person>
      <foaf:name>Sonny Piers</foaf:name>
      <foaf:mbox rdf:resource="mailto:sonny@fastmail.net" />
      <foaf:account>
        <foaf:OnlineAccount>
            <foaf:accountServiceHomepage rdf:resource="https://github.com/"/>
            <foaf:accountName>sonnyp</foaf:accountName>
        </foaf:OnlineAccount>
        <foaf:OnlineAccount>
          <foaf:accountServiceHomepage rdf:resource="https://gitlab.gnome.org"/>
          <foaf:accountName>sonny</foaf:accountName>
        </foaf:OnlineAccount>
      </foaf:account>
    </foaf:Person>
  </maintainer>

like this d04d058 ?

Yup. Thanks.

Can I specify multiple accounts like so

I am asking.

Hi again :)

It's a bit ambiguous because I have to use one account to fetch the maintainer info.

But we could just use the first account to fetch name, pronouns, website etc and just link the remaining accounts?

I guess it would be multiple foaf:accounts:

  <maintainer>
    <foaf:Person>
      <foaf:name>Sonny Piers</foaf:name>
      <foaf:mbox rdf:resource="mailto:sonny@fastmail.net" />
      <foaf:account>
        <foaf:OnlineAccount>
            <foaf:accountServiceHomepage rdf:resource="https://github.com/"/>
            <foaf:accountName>sonnyp</foaf:accountName>
        </foaf:OnlineAccount>
      <foaf:account>
      </foaf:account>
        <foaf:OnlineAccount>
          <foaf:accountServiceHomepage rdf:resource="https://gitlab.gnome.org"/>
          <foaf:accountName>sonny</foaf:accountName>
        </foaf:OnlineAccount>
      </foaf:account>
    </foaf:Person>
  </maintainer>

Currently I'm still trying to figure out why apps.gnome.org isn't picking up the existing doap file 😬

Currently I'm still trying to figure out why apps.gnome.org isn't picking up the existing doap file

That's fixed now

commented

Thanks

Should I tried adding a second foaf:account for Gitlab ?

Yes, I already tried to ensure that it will not break anything :)

The data will not show up yet, but I will add support in the future. It even makes sense to merge information, since GitHub is lacking a field for pronouns for example.

commented

ff8bfb9

Many thanks for apps.gnome.org - really cool initiative - gives a nice, accessible and localized homepage to my apps.