instant-labs / instant-acme

Simple ACME client
Apache License 2.0
65 stars 16 forks source link

Inconsistent argument naming for directory_url and server_url #53

Open kellpossible opened 3 weeks ago

kellpossible commented 3 weeks ago

It would be good for this to be more consistent, or descriptive. It looks like server_urls in any case is used in Client to perform a request and fetch the directory, so perhaps directory_url is a better name.

See also https://github.com/instant-labs/instant-acme/pull/50#discussion_r1650033114

kellpossible commented 3 weeks ago

Other ACME implementations also make it obvious that this URL is related to the directory concept:

djc commented 3 weeks ago

I think renaming this to directory_url everywhere probably makes sense, want to send a PR to do that?

kellpossible commented 3 weeks ago

Sure thing! Happy to do that now

kellpossible commented 3 weeks ago

Okay I've created a branch off #50 over at https://github.com/kellpossible/instant-acme/tree/directory-url-argument-rename which I'll rebase and submit as an MR once #50 is merged to save on any merge conflict resolution that may be necessary.