Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move sonatype groupId to org.ankidroid #33

Open
david-allison opened this issue Jan 30, 2021 · 12 comments
Open

Move sonatype groupId to org.ankidroid #33

david-allison opened this issue Jan 30, 2021 · 12 comments
Assignees
Labels

Comments

@david-allison
Copy link
Member

No description provided.

@david-allison david-allison changed the title Move sonatype groupId to org.ankidroid/io.github.ankidroid Move sonatype groupId to org.ankidroid or io.github.ankidroid Jan 30, 2021
@mikehardy
Copy link
Member

I like the idea of org.ankidroid as sonatype coordinates, but it occurs to me that I am not aware of where that DNS is even controlled and I imagine there are renewal fees etc? 🤔 This may be one for @nicolas-raoul - perhaps he knows the DNS registrar story of ankidroid.org? Without having that on sound footing I would not want to migrate to it.

@dae
Copy link
Contributor

dae commented Jun 6, 2021

Ankitects covers the annual renewal, but isn't this just about having a unique name for the module? AnkiDroid has been using com.ichi2.anki since the early days, and that was never a valid domain (it was probably intended to be net.ichi2.anki)

@nicolas-raoul
Copy link
Member

Someone recently wanted to add to Sonatype one of my libraries, so I verified ownership, just by creating in the GitHub organization a repository named with the identifier of the Sonatype ticket. Hopefully the same can be done here?
Details at https://issues.sonatype.org/browse/OSSRH-65862 (the reporter Max Bulankin is the person who added my library to Sonatype).

Sorry for the .net/.com mistake 😅. Unfortunately, a Java namespace modification would prevent a lot of users from getting updates. I don't think anyone here is suggesting modifying it anyway.

I would personally recommend transferring the domain as well as the Google Play and social media accounts ownership to SPI (the non-profit that handles Debian's assets) or a similar well-established time-tested free software foundation with a clear and fair workflow that accepts such assets.

@mikehardy
Copy link
Member

@nicolas-raoul agreed transfer in general of intellectual property / accounts etc to something like SPI is a good idea, but will put that as out of scope for the moment. I'll log a ticket on ankidroid's tracker prior to closing this (or someone else can 😄 )

@dae thanks for the info on ankidroid.org and for the annual fee payment of course !

This is just about a unique name for the module but it seems like a good idea to pick a good one before it is fully baked in to automated release processes again because no one I know wants to set up sonatype more than they have to, ever.

It sounds like ankidroid.org at least is under "our" control in that Damien has registrar powers then? Damien - if you confirm you're okay with eventually moving ankidroid.org control to SPI or something (as a future path for community ownership) then proceeding with an org.ankidroid-based coordinate seems fine for this?

And Nicolas - you are right, changing the actual package at this point is a non-starter as it would break the android installers' continuity and users would have to install fresh

@dae
Copy link
Contributor

dae commented Jun 6, 2021

SPI feels like extra red tape to me, but if that's what you guys want then say the word and the domain is yours.

@mikehardy
Copy link
Member

mikehardy commented Jun 7, 2021

I certainly don't feel like doing it now, plenty of red tape in my life at the moment, but knowing we have agreement in principle that it could happen is important to me before using it more deeply. As a general statement, I always feel like legal contracts etc in general are annoying wastes of time (red tape) - certainly less useful then people actually trusting each other and behaving honorably - but then every so often they are vital and that's why we have them.

So it or something similar is a thing to do in the future I think such that AnkiDroid moves right along into it's 3rd and 4th decade but not right now while my plate at least is full

I'm +1 on using org.ankidroid coordinates then for any new items, personally. Makes a bunch more sense to me than anything 'ichi2' at this point I think :-)

@mikehardy

This comment was marked as resolved.

@mikehardy mikehardy changed the title Move sonatype groupId to org.ankidroid or io.github.ankidroid Move sonatype groupId to org.ankidroid or perhaps jitpack Jun 11, 2022
@mikehardy

This comment was marked as resolved.

@mikehardy mikehardy self-assigned this Jun 11, 2022
@mikehardy
Copy link
Member

mikehardy commented Jun 11, 2022

I'll commit to resolving this short-term and re-pointing the ankidroid dependency in order to unblock publish of #200 which will unblock ankidroid/Anki-Android#11599

edit 1: Actually, upon further review/reading it appears the 2 publish workflows required do exist, so this may not be a blocker for #200 - just need to read up on how to drive that machinery

edit 2: Ah, nope upon re-review it appears that current process still requires non-shared credentials / human intervention:

- name: ℹ️Additional Release Instructions (requires human interaction)
run: echo "Sign in to https://oss.sonatype.org/#stagingRepositories , close the repsository, then release it"

Requirement for closing this issue is that there is no human interaction needed other than to run the action, IMHO

This was referenced Jun 11, 2022
@mikehardy mikehardy changed the title Move sonatype groupId to org.ankidroid or perhaps jitpack Move sonatype groupId to org.ankidroid Jun 11, 2022
@mikehardy
Copy link
Member

Okay, final resolution on path forward:

  • jitpack no: we need cross compilation (which transitively implies docker) and jitpack won't to do that, so that's out.
  • github package repo: we want easy download and github package repo requires a github personal access token, so no

That leaves setting up Sonatype for the org at org.ankidroid coordinates, so that's the path forward here. I'll start the process. Haven't done it in forever so might take a little bit and if I recall it requires opening a ticket and human interaction on their side, so we'll see.

@mikehardy
Copy link
Member

as a stopgap I do have personal permissions to the existing coordinates on sonatype and was at least able to publish 0.1.11 that way so this is not a blocker but better to do it sooner rather than later I suppose, or at minimum automate it

@mikehardy
Copy link
Member

Going to tie this one to the general need to switch ankidroid.org DNS providers as that will make verification of any new sonatype account much easier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants