-
Notifications
You must be signed in to change notification settings - Fork 308
Integrate initial package claiming PRs #4305
Conversation
Could you share the plan of this project? Besides, I guess you haven't started paying for gomockingbird? Shall we apply to balsamiq earlier than later? |
37cc930
to
d06e5f2
Compare
Not sure what you mean. I updated the todo in the ticket description. Not enough?
Nope.
Not a priority for me. a) Balsamiq appears to be desktop-only, which is of limited utility for us since we can't share links, b) I think we have what we need from Mockingbird for now, and c) I think we can hack Mockingbird by deleting cookies/localstorage. |
I think we should get you unblocked and focusing on gratipay/finances#35. I'm happy to do the bulk of the work here but I will need you @mattbk @JessaWitzel etc. for review. Let's work with who we have.
Go for it!
😊 |
@nobodxbodon at #4297 (comment):
Good idea! |
We'll also need to account for the case where an email is attached to a different Gratipay account. They won't be able to use it in that case. |
Todo reordered to reflect merge order. |
Picking up from #4297 (comment):
We pull email addresses from the maintainers and authors in package.json on npm. |
In case you missed #4297 (comment), shall we notify all the contacts after step 8 of spec, and states so to the claimer in the email something like "we'll notify all the other coauthors of the package in this email list after you confirm claiming"? |
That was really what I was trying to ask earlier (#4297 (comment)) |
What's up with the failures here? I seem to recall expecting this ... |
Still looking for the perfect process here. I keep switching the todo order. Currently working stepwise through the workflow. I've got the confirmation flow (3-8) half roughed-in. I think at this point I'm going to go back over and clean up and merge #4155 so that we have a |
Sent a follow-up in private email to clarify:
|
Alright, based on that and considerations at #4309 (comment) I've added another prereq:
|
Okay! Shelving work on #4309. I had thought of two PRs right after that one (implementing |
Scratch that! 💃
Aligns with doco:
https://docs.npmjs.com/cli/owner
https://docs.npmjs.com/files/package.json#people-fields-author-contributors |
But we do want to drop |
/me adds that to prereqs ... |
Back into #4309! |
5bab99a
to
bdd20ac
Compare
Awesome. All PRs are in! I guess we should spend some effort on syncing npm before we deploy this, though. :-/ |
The snapshot of npm we have in the Gratipay database is six months old. We need to update that and also build in a mechanism for constantly updating it. |
Rebased and squashed, was 70b391e. |
70b391e
to
49c9359
Compare
Okay, friends! I believe we are ready to land this sucker! |
@clone1018 and I are going to merge and deploy this. |
- Move upsert & delete onto Package - Make verification results easier to debug - Smooth out a slight very wrinkle in return value for paypal_updated - Implement and test desired behavior
Rebased, was 8a2e258. |
8a2e258
to
a2abfdb
Compare
Travis is running super-slow. |
Finally green! Ready!? |
This is an integration branch/PR for the initial implementation of package claiming. Part of #4427.
Specs
See #4297 (comment).
Mocks
From #4297 (comment) (click for full-size):
PRs (in merge order)
Numbers are workflow steps.
/on/npm/foo/
for anon: Add signin + copy to anon package view #4306 Add link to package on npm #4307 Add a test for anon hitting unclaimed package #4308 Fix regression in test #4323Package
to hold Python API: Stub out Package model #4155/on/npm/foo/
for auth when unclaimed: UI to send confirmation email for unclaimed packages #4309Package.send_confirmation_email
: Send confirmation email #4335/on/npm/react/claim
endpoint to receive email link: Receive package claim link-back #4397/on/npm/foo/
as project page when claimed: Present claimed packages as projects #4398/on/npm/foo/edit
as project edit page when claimed: Edit claimed packages #4404&c.
verify.html
, show packages newly linked if germane: List packages on verification #4424Todo
get_emails
can include an email it shouldn't)consider notifying other package maintainers when someone claims a package… bumped: Notify other maintainers on package claim #4425indicate to a participant when they have a claim open… bumped: Show open claims to participant #4426check it on a phone… bumped: Fix on a phone #4432Landing
master