gratipay / inside.gratipay.com

Here lieth a pioneer in open source sustainability. RIP
https://gratipay.news/the-end-cbfba8f50981
57 stars 38 forks source link

run Gratipay 189 #468

Closed rohitpaulk closed 8 years ago

rohitpaulk commented 8 years ago

188

rohitpaulk commented 8 years ago

Trying https://github.com/gratipay/inside.gratipay.com/issues/467 today

chadwhitacre commented 8 years ago

!m @rohitpaulk

I guess I'll let you drive, and watch for pings when you get stuck on perms or whatever?

rohitpaulk commented 8 years ago

Yep, that works :)

rohitpaulk commented 8 years ago

http://inside.gratipay.com/howto/run-payday

rohitpaulk commented 8 years ago

Why doesn't http://inside.gratipay.com/howto/run-payday have any info about our droplet?

rohitpaulk commented 8 years ago

Aha, we run payday locally now eh

(Here's the commit where the docs were changed: https://github.com/gratipay/inside.gratipay.com/commit/0a9906fc9b655d8a1acfb52ae94b3bd7a3f279b1)

rohitpaulk commented 8 years ago

Local repo updated, now moving on to migrating tips...

rohitpaulk commented 8 years ago
$ heroku config -s | run_dammit /dev/stdin -c ./env/bin/python ./bin/migrate-tips.py > migrate-tips.log
-bash: run_dammit: command not found

Going to use honcho instead..

rohitpaulk commented 8 years ago
$ heroku config -s -a gratipay | ./env/bin/honcho run -e /dev/stdin ./env/bin/python ./bin/migrate-tips.py > migrate-tips.log

In progress...

rohitpaulk commented 8 years ago
Migrated 0 tip(s) for 'detexify'
'sudomesh' already migrated.
'konlpy' already migrated.
'byebug' already migrated.
Migrated 0 tip(s) for 'shields'
Migrated 0 tip(s) for 'hamper'
Migrated 0 tip(s) for 'juice-shop'
Migrated 0 tip(s) for 'searx'
'md-for-bootstrap' already migrated.
Migrated 0 tip(s) for 'orionjs'
Migrated 0 tip(s) for 'piloting-postdevelopment'
'nim' already migrated.
'tabula' already migrated.
'exercism' already migrated.
'torque3d' already migrated.
Migrated 0 tip(s) for 'meteor-active-route'
'aegirproject' already migrated.
'totalism-hackbase' already migrated.
Migrated 0 tip(s) for 'openlp'
'catapultpgh' already migrated.
'svg-js' already migrated.
Migrated 0 tip(s) for 'rtail'
Migrated 0 tip(s) for 'sean-js'
'rubocop' already migrated.
Migrated 0 tip(s) for 'bootswatch'
'flexget' already migrated.
'trakt-for-plex' already migrated.
'the-perl-review' already migrated.
'pylonsproject' already migrated.
Migrated 0 tip(s) for 'tyf'
Migrated 0 tip(s) for 'hypatia-software-organization'
'nanoc' already migrated.
Migrated 0 tip(s) for 'tech-store-club'
'ucoin' already migrated.
'image-optim' already migrated.
'rhombus-tech' already migrated.
'pageres' already migrated.
'davorg' already migrated.
'fabric-js' already migrated.
'cpan-book' already migrated.
'dreditor' already migrated.
'northern-plains-athletics' already migrated.
'gammu' already migrated.
'the-charis-project' already migrated.
Migrated 0 tip(s) for 'libravatar'
Migrated 0 tip(s) for 'kriasoft'
'webtorrent' already migrated.
'josd' already migrated.
Migrated 0 tip(s) for 'projectcloudly'
Migrated 0 tip(s) for 'junest'
Migrated 0 tip(s) for 'musical-artifacts'
Migrated 0 tip(s) for 'simple-icons'
'drupal-search-api' already migrated.
Migrated 0 tip(s) for 'slap'
Migrated 0 tip(s) for 'flexible-grid-system'
Migrated 0 tip(s) for 'weblog-sh'
'sailor' already migrated.
Migrated 0 tip(s) for 'liboctavo'
'debian-lts-by-freexian' already migrated.
'mojolicious' already migrated.
'teampopong' already migrated.
'cpan-io' already migrated.
'doit' already migrated.
'devdocs' already migrated.
'cuberite' already migrated.
'encommuns' already migrated.
'perlweekly' already migrated.
'json-resume' already migrated.
'org-mode' already migrated.
'weblate' already migrated.
'perl-maven' already migrated.
'the-mountain-spirit' already migrated.
Migrated 0 tip(s) for 'hunter'
Migrated 0 tip(s) for 'ng-file-upload'
Migrated 0 tip(s) for 'code-for-seoul'
'act' already migrated.
'knopproject' already migrated.
'grip' already migrated.
Migrated 0 tip(s) for 'coala'
'opencv' already migrated.
Migrated 0 tip(s) for 'vegeta'
Migrated 0 tip(s) for 'kivy'
'magit' already migrated.
'introtopython' already migrated.
Migrated 0 tip(s) for 'concrete-clouds'
Migrated 0 tip(s) for 'funcool'
'fsnotify' already migrated.
'citizens-network' already migrated.
'cider' already migrated.
'zed' already migrated.
Migrated 0 tip(s) for 'matlab-schemer'
Migrated 0 tip(s) for 'toolitup'
Migrated 0 tip(s) for 'vanilla-music'
Migrated 0 tip(s) for 'yawttk'
Migrated 0 tip(s) for 'cdnjs'
Migrated 0 tip(s) for 'wallabag'
'esdiscuss' already migrated.
'sublimelinter' already migrated.
Migrated 0 tip(s) for 'share-term'
'civicrm-lts' already migrated.
'webpack' already migrated.
'contribkanban-com' already migrated.
Migrated 0 tip(s) for 'botwiki-org'
Migrated 0 tip(s) for 'tipsy'
Migrated 0 tip(s) for 'brainfock'
Migrated 0 tip(s) for 'chameleon'
Migrated 0 tip(s) for 'gryd'
'dokku' already migrated.
Migrated 0 tip(s) for 'retrospring'
'grimoire' already migrated.
Migrated 0 tip(s) for 'itcase'
Migrated 0 tip(s) for 'sharex'
Migrated 0 tip(s) for 'drupal-media-youtube-upload'
Migrated 0 tip(s) for 'coinvest'
Migrated 0 tip(s) for 'os-js'
'pjf' already migrated.
'bevry' already migrated.
Migrated 0 tip(s) for 'radiant-player'
Migrated 0 tip(s) for 'macdown'
Migrated 0 tip(s) for 'phanbook'
'cappuccino' already migrated.
Migrated 0 tip(s) for 'jeto'
'sudo-room' already migrated.
Migrated 0 tip(s) for 'youtransfer-io'
Migrated 0 tip(s) for 'flamecore'
'minotar' already migrated.
Migrated 0 tip(s) for 'poll'
'jshttp' already migrated.
Migrated 0 tip(s) for 'jsfile'
'duo' already migrated.
Migrated 0 tip(s) for 'flif'
'simplytest-me' already migrated.
'pariskiwi' already migrated.
Migrated 0 tip(s) for 'decent-im'
'endless-parentheses' already migrated.
'reddit-enhancement-suite' already migrated.
Migrated 0 tip(s) for 'neocities'
'cyberpipe' already migrated.
'wdrl' already migrated.
Migrated 0 tip(s) for 'asciinema'
'gkz-open-source' already migrated.
'chocolatey' already migrated.
Migrated 0 tip(s) for 'pomodoro-cc'
'pillow' already migrated.
Migrated 0 tip(s) for 'horizon-launcher'
'nuvola-player' already migrated.
'sqlalchemy' already migrated.
'jsbin' already migrated.
'Gratipay' already migrated.
Done.
rohitpaulk commented 8 years ago

That script spent 5 minutes and we migrated 0 tips :P

rohitpaulk commented 8 years ago

Downloading backup..

rohitpaulk commented 8 years ago

Okay I don't really understand how bin/snapper.py works, so I'm doing this manually

rohitpaulk commented 8 years ago
$ pg_restore --verbose --clean --no-acl --no-owner --jobs 8 -d gratipay ../backups/b268.dump
rohitpaulk commented 8 years ago

Since I have multiple heroku remotes in the same directory, I had to change -a gratipay to the heroku config command

rohitpaulk commented 8 years ago

Why should we take a backup at all if this is happening via the heroku config?

rohitpaulk commented 8 years ago

Anyway... Now for the real deal

chadwhitacre commented 8 years ago

popcorn-blank

rohitpaulk commented 8 years ago

We're done! Script ran for 8 minutes

rohitpaulk commented 8 years ago

Now to run masspay...

rohitpaulk commented 8 years ago

Aha, first roadblock. Paypal permission... @whit537

chadwhitacre commented 8 years ago

Sir!

rohitpaulk commented 8 years ago

I don't have access to the meldium account either...

chadwhitacre commented 8 years ago

I'm looking at PayPal to see the best way to share creds.

What do you need the Medium account for?

rohitpaulk commented 8 years ago

I thought that it'd have paypal credentials in there...

chadwhitacre commented 8 years ago

I'm confused ... PayPal credentials in Medium?

rohitpaulk commented 8 years ago

Isn't meldium a password manager?

rohitpaulk commented 8 years ago

MELDIUM, not MEDIUM

rohitpaulk commented 8 years ago

Wait, don't we use meldium? I remember seeing it mentioned somewhere

chadwhitacre commented 8 years ago

Ah, sorry! We're on LastPass.

chadwhitacre commented 8 years ago

But PayPal isn't in there, I'm configuring a PayPal user account for you ...

chadwhitacre commented 8 years ago

@rohitpaulk PayPal credentials sent in email.

rohitpaulk commented 8 years ago

Hmm.. So I've received a username and a password. Trying to login via paypal.com (like I do for my personal account) doesn't succeed - Am I supposed to use a specific business-version URL?

chadwhitacre commented 8 years ago

:dancer:

screen shot 2016-01-14 at 10 54 23 am

chadwhitacre commented 8 years ago

Am I supposed to use a specific business-version URL?

Hmm ... let's see ... @clone1018 already has an account in there, so I guess we figured this out before ...

chadwhitacre commented 8 years ago

https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/permissions-outside

chadwhitacre commented 8 years ago

doesn't succeed

How does it fail? When I click on "Login" on PayPal.com, I get this URL:

https://www.paypal.com/signin/?country.x=US&locale.x=en_US

When I enter your creds on that page, I am able to login. Maybe the country.x matters?

chadwhitacre commented 8 years ago

P.S. I entered your username in the "email" field (not an email address).

rohitpaulk commented 8 years ago

I tried modifying those, yh... Didn't work..

rohitpaulk commented 8 years ago

Country IP filters?

chadwhitacre commented 8 years ago

Sigh. :disappointed:

chadwhitacre commented 8 years ago

@rohitpaulk What about https://www.paypal.com/in/signin?

rohitpaulk commented 8 years ago

Nopes.. "Please check your entries and try again"

rohitpaulk commented 8 years ago

Does that endpoint work for you?

chadwhitacre commented 8 years ago

Does that endpoint work for you?

Yes.

Okay, lemme call PayPal real quick, maybe they can whitelist or something ...

rohitpaulk commented 8 years ago

:+1: If that doesn't work, might have to try shuttling files over email..

chadwhitacre commented 8 years ago

@rohitpaulk They're recommending that you:

"He can get stuck in a 'flow'."

"We do have some incompatibility issues with Chrome."

rohitpaulk commented 8 years ago

Oookay, trying..

chadwhitacre commented 8 years ago

@rohitpaulk She said that if you call and talk to them directly then they can help more. They can monitor your login attempt and see which "flow" you're getting stuck in.

https://www.paypal.com/selfhelp/contact/call

chadwhitacre commented 8 years ago

+1-888-221-1161 is the number I just called.