Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

launch teams feature #1100

Closed
9 tasks done
chadwhitacre opened this issue Jul 1, 2013 · 9 comments
Closed
9 tasks done

launch teams feature #1100

chadwhitacre opened this issue Jul 1, 2013 · 9 comments

Comments

@chadwhitacre
Copy link
Contributor

With the move to kids-eat-first (#1090), we're about ready to roll this out. Punch list:

  • add recorder column to memberships
  • add UI for team to remove a member
  • add UI for member to remove themselves
  • clean up add member UI
  • add UI for becoming a Team
  • list team memberships on profile page
  • add all contributors to Gittip to team
  • possibly add all commenters on Gittip to team
  • write up docs (tumblr? medium? both?)
chadwhitacre added a commit that referenced this issue Jul 1, 2013
Teams can remove any of their members, members can remove themselves.
chadwhitacre added a commit that referenced this issue Jul 1, 2013
Simply add members. Then you're a team.
chadwhitacre added a commit that referenced this issue Jul 1, 2013
Locally I was able to edit pg_enum directly, but not in production. This
does the old school dance (new type, new column, update and rename) for
both participants and log_participant_type.
@chadwhitacre
Copy link
Contributor Author

I'm working on initially populating the Gittip team. I know I've thrashed this a few times over the past week. I'm working on populating it for the last time for kids-eat-first and moving forward from there. Here are the sources of members:

  1. former members under web-of-percentages
  2. collaborators
  3. contributors

We can get (1) easily enough with this SQL (from #1090):

insert into memberships (ctime, mtime, member, team, take, recorder) (select distinct on (tippee) (select distinct on (tippee) timestamp from transfers where tippee=t2.tippee order by tippee, timestamp asc limit 1), now(), tippee, 'Gittip', 0.01, 'Gittip' from transfers t2 where tipper='Gittip' and timestamp > '2013-06-01' and timestamp < '2013-06-27' order by tippee, timestamp desc);

We can get (2) and (3) from the GitHub API, but we don't have ctime. For (3) we can iterate over all commits (observing pagination best practices). Not sure how to get ctime for (2). Hopefully the intersection between (2) and (3) is almost entire.

@chadwhitacre
Copy link
Contributor Author

We have 54 contributors and 19 collaborators. There are five collaborators that are not contributors. Five contribulators are not on Gittip at all.

>>> collabs
set([u'MikeFair', u'lyndsysimon', u'jeresig', u'clone1018', u'alexcouper', u'buttscicles', u'tehgeekmeister', u'igetgames', u'wilkie', u'abnor', u'joeyespo', u'carsomyr', u'ceboudreaux', u'rummik', u'trinary', u'bruceadams', u'joonas', u'nicksergeant', u'sigmavirus24'])
>>> contribs
set([u'gperetin', u'gwenbell', u'citricsquid', u'corytheboyd', u'rpicard', u'whit537', u'justinxreese', u'exclsr', u'buchuki', u'justinabrahms', u'joonas', u'matin', u'waldir', u'jofusa', u'joeyespo', u'mmikulicic', u'mwhite', u'berryp', u'selenamarie', u'igetgames', u'erikvanzijst', u'lyndsysimon', u'imathis', u'sigmavirus24', u'wilkie', u'booo', u'paparent', u'atroche', u'iurisilvio', u'captn3m0', u'nicksergeant', u'kennethreitz', u'chrisdev', u'voxpelli', u'aybabtme', u'shurcooL', u'aljosa', u'btubbs', u'rummik', u'strand', u'tehgeekmeister', u'carols10cents', u'clone1018', u'alexcouper', u'mjallday', u'ChimeraCoder', u'artagnon', u'buttscicles', u'aisipos', u'mccolgst', u'cyberjacob', u'dowski', u'colindean', u'bruceadams'])
>>> collabs - contribs
set([u'MikeFair', u'jeresig', u'carsomyr', u'abnor', u'ceboudreaux', u'trinary'])
>>>

@chadwhitacre
Copy link
Contributor Author

My plan:

  • generate a list of contributors, with the datetime of their first contribution
  • generate a list of people from web-of-percentages, with the datetime of their first tip from Gittip
  • generate a list of the five collaborators who aren't contributors, with the datetime of their first collaboration (find them in comments, I guess?)
  • combine the three lists, sort by datetime
  • POST members to the Gittip team in order. Relative timestamps are what matter.

@chadwhitacre
Copy link
Contributor Author

I'm actually finding 49 contributors in the commit log through the API.

@chadwhitacre
Copy link
Contributor Author

Here's the list I ended up using:

2011-12-05 15:05:41 github whit537
2012-06-05 16:44:45 github mmikulicic
2012-07-04 20:35:00 github carols10cents
2012-07-05 13:21:44 github bruceadams
2012-07-05 13:59:29 github aybabtme
2012-07-12 01:07:00 github mjallday
2012-07-19 02:51:44 github mwhite
2012-07-25 22:21:19 github captn3m0
2012-08-03 01:50:11 github strand
2012-08-14 21:58:03 github alexcouper
2012-10-05 17:39:45 github paparent
2012-11-16 15:27:15 github artagnon
2012-11-19 16:10:50 github waldir
2012-12-18 04:06:08 github joeyespo
2013-01-07 22:50:01 github joonas
2013-01-10 12:13:17 github iurisilvio
2013-01-12 16:29:34 github clone1018
2013-01-13 07:45:45 github igetgames
2013-01-14 20:23:52 github tehgeekmeister
2013-01-23 06:02:36 github nicksergeant
2013-01-24 19:24:30 github imathis
2013-01-30 04:04:45 github sigmavirus24
2013-01-30 04:46:23 github rummik
2013-02-08 16:32:08 github colindean
2013-02-08 17:03:17 github shurcooL
2013-02-22 23:36:03 github exclsr
2013-03-12 07:16:58 github wilkie
2013-03-15 22:12:39 github aljosa
2013-03-17 06:53:55 github btubbs
2013-03-18 01:58:54 github aisipos
2013-03-18 17:59:18 github selenamarie
2013-03-18 18:05:22 github gperetin
2013-03-18 21:52:17 github berryp
2013-03-18 23:23:21 github mccolgst
2013-03-19 17:53:49 github buchuki
2013-03-19 19:39:33 github chrisdev
2013-03-20 07:13:49 github jofusa
2013-03-22 15:14:00 github lyndsysimon
2013-03-23 02:41:04 github erikvanzijst
2013-03-25 23:29:53 github nsloan
2013-04-02 00:35:47 github justinxreese
2013-04-12 03:40:49 github citricsquid
2013-04-12 19:37:51 github buttscicles
2013-04-18 14:41:51 gittip cellhelmetMike
2013-04-18 14:41:52 gittip alexcouper
2013-04-18 14:41:52 gittip aljosa
2013-04-18 14:41:52 gittip dstufft
2013-04-18 14:41:52 gittip gperetin
2013-04-18 14:41:52 gittip hurlothrumbo
2013-04-18 14:41:52 gittip joeyespo
2013-04-18 14:41:52 gittip rummik
2013-04-18 14:41:53 gittip MikeFair
2013-04-18 14:41:53 gittip geNAZt
2013-04-18 14:41:53 gittip igetgames
2013-04-18 14:41:53 gittip meatballhat
2013-04-18 14:41:53 gittip nicksergeant
2013-04-18 14:41:53 gittip pjz
2013-04-18 14:41:53 gittip sigmavirus24
2013-04-18 14:41:53 gittip tehgeekmeister
2013-04-18 14:41:53 gittip wilkie
2013-04-18 14:41:54 gittip abnor
2013-04-18 14:41:54 gittip bruceadams
2013-04-18 14:41:54 gittip buttscicles
2013-04-18 14:41:54 gittip clone1018
2013-04-18 14:41:54 gittip joonas
2013-04-18 14:41:54 gittip lyndsysimon
2013-04-18 14:41:54 gittip realchrisdev
2013-04-18 14:41:54 gittip whit537
2013-04-22 18:17:11 gittip jeresig
2013-04-25 18:54:18 github kennethreitz
2013-04-30 00:00:00 gittip trinary
2013-05-16 13:56:24 gittip mw44118
2013-05-16 13:56:30 gittip aspen
2013-05-16 13:56:31 gittip trinary
2013-05-23 12:53:09 gittip selenamarie
2013-05-23 12:53:09 gittip tshepang
2013-05-23 12:53:10 gittip corytheboyd
2013-05-24 02:53:09 github corytheboyd
2013-06-06 13:08:44 gittip ChimeraCoder
2013-06-10 01:39:49 github ChimeraCoder
2013-06-12 15:26:13 github rpicard
2013-06-13 02:02:43 github gwenbell
2013-06-13 16:13:32 gittip pydanny
2013-06-13 16:13:33 gittip evbogue
2013-06-13 16:13:33 gittip gwenbell
2013-06-16 16:39:40 github voxpelli
2013-06-20 13:28:09 gittip rpicard
2013-06-20 13:28:10 gittip voxpelli
2013-06-20 13:28:11 gittip cakey
2013-06-25 18:17:11 gittip ceboudreaux

@chadwhitacre
Copy link
Contributor Author

Here's the scrappy script I used: https://gist.github.com/whit537/94a7fc4ee9520794a56a

Depends on link_header from @mnot.

chadwhitacre added a commit that referenced this issue Jul 3, 2013
chadwhitacre added a commit that referenced this issue Jul 3, 2013
2x is easier to compute in your head than 1.5x, is nice and geeky, and
gets you to a reasonable salary (~$1,000/wk) within a more reasonable
time (10 weeks ~= 2.5 months vs. 17 weeks ~= 4+ weeks), while still
giving 6 weeks or so of relatively low numbers to build trust.
@chadwhitacre
Copy link
Contributor Author

I ended up going with a Medium post targeted at people on Team Gittip already. Will send out a tinyletter.

@chadwhitacre
Copy link
Contributor Author

@chadwhitacre
Copy link
Contributor Author

Tinyletter sent.

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

No branches or pull requests

1 participant