agenda-rest icon indicating copy to clipboard operation
agenda-rest copied to clipboard

More maintainers for agenda-rest + npm package

Open keyvan-m-sadeghi opened this issue 4 years ago • 27 comments

Would be cool if we can have a couple more maintainers with write access to the repo as well as the npm package for faster publish, as it seems I've been a bit neglectful in this regard.

Anyone feeling like it, your help is very much appreciated.

I'd need npm usernames.

@geosp @sampathBlam

keyvan-m-sadeghi avatar Mar 11 '20 23:03 keyvan-m-sadeghi

@keyvan-m-sadeghi : That's awesome. I am in !!

sampathBlam avatar Mar 21 '20 15:03 sampathBlam

@sampathBlam great, can I have your NPM username?

keyvan-m-sadeghi avatar Mar 23 '20 03:03 keyvan-m-sadeghi

I really don't get why more users is the right idea here. I would highly suggest you reconsider this and instead use Github actions to publish the package.

If any of the users get their accounts compromised they'll be able to publish, automated publishing avoids this.

OmgImAlexis avatar Mar 23 '20 04:03 OmgImAlexis

Very good suggestion @OmgImAlexis, I wasn't aware that GitHub actions supports this use case. Also I noticed that I actually don't have admin rights over the repo. Could you please help with setting this up with best practices?

keyvan-m-sadeghi avatar Mar 23 '20 04:03 keyvan-m-sadeghi

Don't have a great deal of spare time but this should help and I'm free to answer questions you have. I'd suggest making the publish happen on new commit to master that way it'll only happen when we merge a PR, or push directly to master.

OmgImAlexis avatar Mar 23 '20 04:03 OmgImAlexis

I'm available too. I can help with setting up Github actions.

geosp avatar Oct 09 '20 04:10 geosp

Great @geosp, I really haven't found the time to go about it.

@OmgImAlexis appreciate if you can give @geosp write access to the repo, I can do the npm side.

keyvan-m-sadeghi avatar Oct 09 '20 06:10 keyvan-m-sadeghi

@keyvan-m-sadeghi and @OmgImAlexis I will do my best to help. I notice that the build was failing for a long time so I took the time to fix that too in my latest PR #93 . Thank you.

geosp avatar Oct 09 '20 17:10 geosp

Looks good @geosp, what's your username on npm?

keyvan-m-sadeghi avatar Oct 10 '20 03:10 keyvan-m-sadeghi

It is gffajardo.

geosp avatar Oct 10 '20 05:10 geosp

@keyvan-m-sadeghi and @OmgImAlexis Any word regarding access or PR #93 ? I know you are busy, please let me know. Thank you.

geosp avatar Oct 12 '20 21:10 geosp

Invite should have been sent on GitHub sorry for it taking so long.

OmgImAlexis avatar Oct 12 '20 21:10 OmgImAlexis

Thank you @OmgImAlexis

geosp avatar Oct 14 '20 17:10 geosp

@keyvan-m-sadeghi Any word in regards to NPM access?

geosp avatar Oct 14 '20 17:10 geosp

Sorry @geosp been away for a few days. I just checked npm and noticed I no longer have admin access there.

@OmgImAlexis can you give write access to @geosp on npm? Username is gffajardo.

Great work on refactoring @geosp 🎉 👍

keyvan-m-sadeghi avatar Oct 14 '20 18:10 keyvan-m-sadeghi

Thank you @keyvan-m-sadeghi. I want to use this PR to test deploying to npm using GitHub actions. I assume you approve of the changes in #94 .

geosp avatar Oct 17 '20 02:10 geosp

Yeah all good 👌 Did you get the npm access? I have write access but not admin, let me know if I can help with anything @geosp

keyvan-m-sadeghi avatar Oct 17 '20 05:10 keyvan-m-sadeghi

@geosp I'm trying to give you access through the "teams" feature of npm, check your email for an invite from "assister" org and let me know if that gives you write access to the agenda-rest package

keyvan-m-sadeghi avatar Oct 17 '20 05:10 keyvan-m-sadeghi

@geosp give me a hint when you accepted the invite, apparently there's an additional step I need to take before you actually get write access (adding you to agenda-rest-write team, which requires being a member of the assister org first, I'm not sure even @OmgImAlexis can add new members now, seems I've created this package under this username first then changed it to an org at some point, which is causing all this trouble).

keyvan-m-sadeghi avatar Oct 17 '20 05:10 keyvan-m-sadeghi

@keyvan-m-sadeghi Thank you for your assistance. I'm in the org now.

geosp avatar Oct 17 '20 17:10 geosp

@geosp done, you now have write access to the npm package. You need to enable 2FA in your npm account to publish though.

Feel free to merge pull requests as they come in, welcome aboard!

keyvan-m-sadeghi avatar Oct 17 '20 19:10 keyvan-m-sadeghi

Thank you, guys. I got really busy there for a while. I will be working on the GitHub-actions task now.

geosp avatar Oct 29 '20 20:10 geosp

@keyvan-m-sadeghi and @OmgImAlexis Hello guys. I created an issue for the implementation of GitHub actions and a PR to resolve the issue. Please take look at PR #96 .

geosp avatar Oct 30 '20 03:10 geosp

@OmgImAlexis Can you please add the NPM security token to GitHub so that the workflow is able to publish the library to NPM. Thank you so much for your help.

geosp avatar Nov 04 '20 23:11 geosp

I was able to publish the new version manually, but it will be nice to have it done automatically.

geosp avatar Nov 05 '20 03:11 geosp

Sorry that I've been away @geosp, it is indeed nice to automate publishing, hope @OmgImAlexis reads this as I don't have admin rights for the repo to give you the keys.

keyvan-m-sadeghi avatar Nov 22 '20 13:11 keyvan-m-sadeghi

Also thanks for the great work on updating everything @geosp 🎉

keyvan-m-sadeghi avatar Nov 22 '20 13:11 keyvan-m-sadeghi