r/webdev • • May 11 '16

GitHub: Introducing unlimited private repositories

https://github.com/blog/2164-introducing-unlimited-private-repositories
625 Upvotes

156 comments sorted by

320

u/johnyma22 May 11 '16

FTFY "GitHub: Introducing unlimited private repositories for paying customers"

171

u/erishun expert May 11 '16

Grrrrr... Paying money for the things I use sucks!

/s

edit: but seriously, BitBucket offers unlimited private repos for free already and I've been using them for years; no need to switch now

65

u/jackwebs May 11 '16

So does gitlab.

25

u/Reconio May 11 '16

Besides the unlimited repositories, they also have a free Continuous Integration service - which I personally like a lot.

7

u/jackwebs May 11 '16

Yeah, I've only tested it out, not used it in anger, but it seems pretty good.

17

u/phphulk expert May 11 '16

If you haven't committed angrily you haven't lived.

17

u/jackwebs May 11 '16

Most of my commits are apologetic..

9

u/onwuka May 11 '16

according to https://stackoverflow.com/a/19551170 you should be able to do git log -g --grep=sorry in your repositories

1

u/bleestein May 11 '16

Is that even possible; to not use configuration management tools in anger?

3

u/TenshiS May 11 '16

Can't get my meteor app to build though

2

u/masterftp May 12 '16

to a noob, can you explain what continuous integration is?

4

u/Reconio May 12 '16

Basically you push your code as often as possible to upstream, where it is automatically tested every time. So, any conflicts (eg. a integration problem with the changes of someone else) will be discovered at an earlier stage. CI might also include building, quality checks and deployment.

My process is mostly this:

  • Push to upstream

  • GitLab CI pulls a Docker image for each PHP version I have to support

  • The repository is checked out in each Docker instance

  • Unit Tests are run

  • When all tests are completed, it sends a message to a Slack channel with the info

  • If the tests are all successful, it automatically deploys the update to the staging server (that's actually Continuous Delivery)

10

u/[deleted] May 11 '16

Isn't gitlab self-hosted? A very different beast if so.

17

u/RotationSurgeon 10yr Lead FED turned Product Manager May 11 '16

That's one option, but they also offer a hosted option. See the third item on this page: https://about.gitlab.com/

4

u/azsqueeze javascript May 11 '16

Is there any reasons to use GitLab over BitBucket?

16

u/raiderrobert May 11 '16

I've used both. I just like Gitlab's UI better. And I've not investigated, but I feel like Gitlab has more integration options (Slack, etc.)

2

u/azsqueeze javascript May 11 '16

I do like the interface more also. Thanks!

11

u/Garbee May 11 '16

GitLab allows unlimited collaborators on private repos as well for free. Where BitBucket has a 5 or 10 person to private repo limit before you start paying for more.

Basically, GitLab is completely free (and self-hostable) except for enterprise support and edition. That is where GitLab makes their money. Where BitBucket is aiming to make money on all medium-size and larger businesses using them.

5

u/doobiedog May 11 '16

Thanks for this! Just migrated all my repos from bitbucket to gitlab in a single click and damn is it sexy. So much better than bitbucket already. Arguably better than github. Uses same markdown as github even (which bitbucket does not which makes for shit readmes). I like how this post turned into an ad for gitlab instead of github. Love github for work, but gitlab for free private projects looks like the way to go.

2

u/onwuka May 11 '16

But can you migrate everything including issues and such from gitlab.com to self-hosted?

3

u/azsqueeze javascript May 11 '16

Awesome! Sounds like I may move some projects to GitLab.

2

u/edtv82 May 12 '16

Don't forget about Gitlab pages - https://pages.gitlab.io/

6

u/FweeSpeech May 11 '16
  1. GitLab allows you to basically run an in-house and a 3rd party hosted option so if GitLab.com is down [or your internal instance is down] you have failover.

  2. You can write integrations yourself which gives you a ton of flexibility.

2

u/azsqueeze javascript May 11 '16

As of now, I'm not too interested in self-hosting. Your second point is very intriguing however. Thanks!

1

u/[deleted] May 11 '16 edited Oct 02 '16

[deleted]

2

u/azsqueeze javascript May 11 '16

I know. I wanted to know why someone would prefer GitLab over BitBucket. Both can host your work.

2

u/sngz May 11 '16

it's not Atlassian.

3

u/[deleted] May 11 '16

Superior UI. Bitbucket's is...ick.

2

u/friimaind back-end May 11 '16 edited May 12 '16

GitLab has a cool search in repository like GitHub. Bitbucket does not have it.

Screenshot: http://i.imgur.com/08UZ11X.jpg

On GitLab and Github you can also edit files online and commit it (no way on Bitbucket).

Screenshot: http://i.imgur.com/Ydez1xT.jpg

Edit: Bitbucket can edit and commit online, my bad

3

u/vaff May 11 '16

You Can edit and commit online with Bitbucket. Atleast for the time I've been using it. Which is about 2 years

1

u/friimaind back-end May 11 '16

Oh really? Tomorrow I will check it out, thank you!

Anyway I really miss a search function :(

1

u/le_f May 11 '16

Gitlab has better pull and push speeds for me.

7

u/[deleted] May 11 '16

I use GitLab hosted. It's great.

1

u/jackwebs May 11 '16

There are both self-hosted and hosted versions available. I've used both.

0

u/[deleted] May 11 '16

[deleted]

1

u/jackwebs May 11 '16

I've been using their hosted option for a year or two now, I've had no problems with it.. I like it.

Self-hosted is certainly not the fastest, but what else would you recommend that comes close to the same features?

17

u/alexcroox May 11 '16 edited May 11 '16

I can't understand why you'd pay for a private GitHub account. I use BitBucket privately and it's free. I can even use "issues" on it for the general public, despite the source being private. The only reason I'd switch to GitHub would be for open source as their issue system is better, but it's not available to the general public when the repo is private, so I'm not sure what the incentive is to use GitHub private. My git tools don't care what the origin is so...

5

u/gerbs May 11 '16

I use Bitbucket at work and I find it to be insanely frustrating. Everything is so hard to find. It takes 2 or 3 more clicks to get to anything on Bitbucket. That doesn't seem like much, but when you're managing 200+ repositories, it takes so much longer to get anything done. Github also has much better CLI tools, API, and Webhooks.

I'll pay $7 a month for it. It's $84 a year, but I figure I lose more time than that navigating through Bitbucket.

1

u/rduoll May 12 '16

Stash is much better than Bitbucket imo.

1

u/gerbs May 12 '16

They're the same thing. Stash (BitBucket server) is just on-premise. And insanely expensive.

1

u/rduoll May 12 '16

I've used both and there are some major differences. One of the biggest is how it looks when reviewing a PR.

1

u/gerbs May 12 '16

I would check again. They've updated the cloud client.

2

u/[deleted] May 11 '16

My lab pays for it. I prefer it to bitbucket for the UI, and because it has a much bigger (free) app ecosystem.

1

u/IrishWilly May 12 '16

What apps are you using? Bitbucket has an API and integration with most of the more popular productivity type stuff. Granted my workflow has never gotten that complicated for my own projects but my company switched to it as well. I just don't know how many apps you really need for a git repo? We have ours linked to our chat (hipchat/slack) and issue tracker (jira).

1

u/[deleted] May 12 '16

Travis, gitter, and waffle are the integrations I use regularly. Is jira free?

1

u/IrishWilly May 13 '16

I think Jira is paid for. I don't deal with that for my work so not sure how much we are paying for it. I don't have any complaints about the service itself though.

1

u/[deleted] May 13 '16

Yeah, I used to use it in my job and it's great.

0

u/[deleted] May 11 '16

[deleted]

1

u/[deleted] May 11 '16

Why do you say that?

1

u/Gingermadman May 11 '16

Good UI and the company pays for it.

1

u/hardolaf May 11 '16

Some times you need to store large files that can't be shared publicly in a repo. For that use case, you need either your own solution or pay for one.

1

u/[deleted] May 11 '16

I pay for it because I prefer Github over the others. Also, I use it for work, too. Having to switch between Github and another Git service sounds like a pain in the ass. The $7 a month amounts to what, €0.20 cents a day? I honestly don't care about that amount of money. A pint of beer in a pub is more expensive where I live.

5

u/[deleted] May 11 '16

It really isn't a big deal. I use bitbucket for work and bitbucket for my private repos and github for my github.io site. They are all git integrations and I use the command line for most things I do with my git flow. So I really don't notice much difference between the two.

2

u/IrishWilly May 12 '16

I use bitbucket and github daily but rarely go to their websites. Everything is done via git command line or a gui client if I need to do anything more complicated. The only difference between the two services for me is the address I set the remote to.

0

u/Edg-R May 11 '16

Aside from me preferring GitHub over the others, why not support them as a company? I'd rather pay them a small amount of money per month for something that I use and rely on than for them to end up having to resort to adding ads or having to go bankrupt.

0

u/[deleted] May 11 '16

[deleted]

13

u/[deleted] May 11 '16

It's a small charge and personally I'm happy to pay them for their services, 5$ for a cloud instance is what I pay at Digital Ocean and 5$ is what I pay github for a version control with a good UI. Just my two personal cents.

29

u/b1ackcat May 11 '16

Just my two personal cents ten dollars.

FTFY :)

2

u/waterintheglass May 11 '16

It looks like they are switching to BitBucket's payment model, I'm wondering how they are going to stay competitive though. Bitbucket offers unlimited repos for free for teams up to 5 and it's still cheaper for teams of 10.

I'm not sure what they were thinking with this.

1

u/Vheissu_ May 11 '16

The free private repositories over at Bitbucket are nice, but I think Atlassian have really dropped the ball with some of their products. While products like Jira thrive, they're ruining Sourcetree, the design of Bitbucket is quite outdated and hard to use as well.

1

u/[deleted] May 12 '16

How are they ruining Sourcetree?

1

u/Vheissu_ May 12 '16

Did you update to the latest redesigned version? It was so bad, they had to revert the update and fix a lot of the issues they introduced. They removed all the colour from the UI and just messed up badly.

1

u/tailanyways May 12 '16

Bitbucket is not as good, not exclusively, but most noticeably because it hides features in the rest of its product suite.

17

u/Lekoaf May 11 '16

Nope, he copied the headline just as it said in the article. It's not really news that private repositories is a paid for feature of Github.

As someone with the smallest paid for account, this is great news for me. Now I don't have to pick and choose which of my personal projects I can put up as private on Github.

1

u/gnarly-dude May 11 '16

If it sounds too good to be true, it probably is.

1

u/njaaazi May 11 '16

Not just paying costumer, if you are student u can get student pack and get free unlimited private repositories :)

1

u/[deleted] May 12 '16

You can have unlimited free Github Gists. You can pull and push them. Unsure if you can branch them.

32

u/phpdevster full-stack May 11 '16 edited May 11 '16

Note that apparently collaborators count as users. So this pricing model is unbelievably expensive. My former company has 17 actual users in its oraganization, but when they went to try the upgrade, it listed 35 users total, meaning all collaborators from other agencies and clients who have individual repo access end up counting as well apparently.

It seems really strange that collaborators invited only to specific repositories end up counting as billable users...

Would anyone else be able to confirm this? It could be a bug/over sight on GitHubs part, or my former company messed up and added those collaborators as full organization users.

EDIT: just confirmed that my former company does only have 17 people, and 18 non-members with repository access - so it's set up correctly, but GitHub is counting it as 35 total and quoting it as $295/month. They have to pay $9/month for users that have collaborator access to just one or two repositories.

MASSIVE ripoff....

At least they're transparent about it...

3

u/Edg-R May 11 '16
I am an existing organization customer and prefer the per-repository plans. Can I remain on my current plan?

Yes, you can choose to continue paying based on the number of repositories you use. You can also upgrade or downgrade in the legacy repository structure based on the number of repositories you need.

Looks like you can still use the per-repository plan.

3

u/hcker2000 May 11 '16

Thats why bit bucket is better for large companies as there max is $200 a month for unlimited users on private repos. Other than that its about $1 a user after 5 free users.

1

u/ivytech May 11 '16

What if you invite the same collaborator to each repo? Then that would be a user you wouldn't have to pay for and doesn't make much sense now does it?

0

u/[deleted] May 11 '16

[deleted]

6

u/tedivm May 11 '16

Will GitHub force me to move to per-user pricing after 12 months?

No. At this time we are not enforcing a timeline to move and if in the future we do decide to set a timeline we are committing to giving you at least 12 months.

I am an existing organization customer and prefer the per-repository plans. Can I remain on my current plan?

Yes, you can choose to continue paying based on the number of repositories you use. You can also upgrade or downgrade in the legacy repository structure based on the number of repositories you need.

2

u/[deleted] May 12 '16

Oh fuck yea! When I pulled up our account on Github, it didn't mention legacy options... Just defaulted to showing me how to switch to the new payment structure. Glad to see there's some way to upgrade within the old pricing plan if we want.

1

u/hurenkind5 May 12 '16

No. At this time we are not enforcing a timeline to move and if in the future we do decide to set a timeline we are committing to giving you at least 12 months.

Translation: This may change at any time

1

u/tedivm May 12 '16

I don't really understand how "if we change this we will give you a full year notice" translates to "this may change at any time".

45

u/KeythKatz May 11 '16

Why not BitBucket?

22

u/myevillaugh May 11 '16

I use bitbucket because it has unlimited private repos, as long as the number of users on the repo is small.

1

u/MustafaTaleb May 11 '16

The number of users on your account. Not repo. If you have more than 4 users total on ALL of your repos, they stop letting you share any of your repos with another person.

2

u/myevillaugh May 12 '16

That's disappointing.

13

u/ajr901 May 11 '16

GitLab Hosted is even better. I used Bitbucket for 2 years at my previous employer and now for the last 3-4 months I use Gitlab. I couldn't be happier.

3

u/idleservice May 11 '16

I think GitLab or BitBucket are excellent choices for organisations or just private repos in general.

However, I think GitHub's strength is its community, they interface is definitely better (IMO) and just easier and more appealing for open source projects that accept push requests.

1

u/KeythKatz May 11 '16

Definitely agree on the interface. Used it once did an open source project and it felt so much nicer.

2

u/aamo May 11 '16

One issue for us is that Bitbucket has no support for git-lfs yet.

3

u/djuggler May 11 '16

2GB limit per repo.

10

u/[deleted] May 11 '16

That's usually not an issue. I don't know anyone who could use more than 2gb for webdev unless you're storing all your images in your repo for some reason.

1

u/djuggler May 11 '16

Agreed. I messed up one Bitbucket repo by accidentally uploading the /wp-uploads/ folder of a Wordpress site having forgotten to add wp-uploads to the .ignore.

2

u/[deleted] May 11 '16

I kind of like some of the features GitHub has, but I think it's stupid to spend that much for private repo's. I thought this was unlimited private repo's for free, so it's just not really worth using.

0

u/[deleted] May 11 '16

[deleted]

0

u/[deleted] May 11 '16

[deleted]

2

u/gkx May 11 '16 edited May 11 '16

Uh... We pay $25 a month. I dunno what kind of slave labor you use.

Scaling is linear. Giving someone access to the code is $9 per month, or $108 per year. I agree it's probably better to host your own solution after maybe 200 programmers, but hiring a new employee to manage it? That would be at least $30k, not including hosting, right?

1

u/niksko May 11 '16

I was using BitBucket all semester for my uni work, because their education tier offers unlimited private repos. Now that Github have this I'll probably go back to only Github.

1

u/IrishWilly May 12 '16

BitBucket has always offered unlimited private repos for free accounts.

1

u/berkes May 12 '16

Features, ux and integrations.

E.g. Travis or hound only integrate with GH.

The overall UX of GH is better. Just a tad more polished and better implemented. Bitbucket is atlassian. The same people who ductaped jira together.

GHs Api is far better designed.

GH has features like a simple issue tracker that Bitbucket leaves to external tools. Usually that is a better design (do one thing and do it well) but this is atlassian. With integrations that are horrible.

1

u/TheHelgeSverre May 12 '16

Hmmm what experiences have you had with Atlassian & JIRA that make dislike them?

We use Bitbucket(self hosted version), Bamboo, JIRA and Confluence daily at my workplace, and I have not had any problems or gripes with any of them.

2

u/berkes May 12 '16

I really dislike their messy experience. Markup/markdown is different across their tools. Shortcuts appear and dissapear depending on what section in a tool you are. Search is very inconsistent across their products. Sometimes you have to rightclick (on the web!), sometimes an option is behind a hamburger menu, sometimes behind a config-icon. Sometimes in a menu.

One page will open an issue in a modal, the other page will open it in edit mode, yet another page will open it in a sidebar, and yet another page will open the -finally- full detail view of the task you wanted to work on.

Overall, I find especially Jira, to be a complete mess.

I've tried to get bamboo running for our Rails backend builds with additional android builds. Spent a whole day figuring out what the hell I was supposed to do. I had to upgrade our payed plan to another payed plan, in order to be able to start using it in the first place: we suddenly get different bills now for the same amounts, just because I trialled a product.

After a whole day of reading docs and trying to get bamboo running and connected to Bitbucket, I had a build, but it could not get the proper ruby-gems installed for some reason. I gave up. Far before I was even able to try if it would run the tests properly and review our pull-requests.

And made a github mirror and travis. To buy some time untill we got a Jenkins running and connected to bitbucket.

Atlassian tends to buy products and then quickly integrates them into their suite. That shows.

0

u/ApprovalNet May 11 '16

Absolutely. Not only is Bitbucket great but they're not an SJW wasteland of trigger warnings and micro-aggressions either.

4

u/_raisin full-stack May 12 '16

I remember someone posting this. I was from a meeting at github.

-11

u/55555 May 11 '16 edited May 11 '16

I like github for windows. I've heard you can use it with bitbucket, but I haven't figured out how yet(I haven't really tried too hard though).

Regardless, I don't really care for Atlassian, for a variety of personal reasons that many people would argue with me over. And SourceTree is essentially garbage in my opinion. I can shell out $7 a month for now, so Github works for me.

*some real hate for Github for windows? I do most things on the command line, but I prefer reviewing changes and commit history in github for windows. The sourcetree UI is REALLY cluttered. Can anyone here legitimately argue that sourcetree has a clean UI?

7

u/iEyepawd node May 11 '16

It's just a Git client... Just add a remote directory to your git project and open it with GitHub Windows.

1

u/55555 May 11 '16 edited May 11 '16

I need to have a github remote as well as a bitbucket remote(my work uses both). Not sure if you can do that. This seems to indicate that you can only have 1 remote set up with it.

1

u/HomemadeBananas May 11 '16

Git clients suck. CLI for life.

2

u/Hobby_boy May 11 '16

I guess you've never used Git Extensions or the command line then.

10

u/Hobby_boy May 11 '16

Doesn't gitlab offer far more users with private repositories then bitbucket anyway?

10

u/Yurishimo May 11 '16

This absolutely bones organizations who use GitHub for collaboration on private repositories.

For example, there is a large E-Commerce WordPress plugin that stores all of the extensions on GitHub, and invites people to the organization if they are a co-author or working on bug fixes. They recently tweeted that the increase in cost is over 2,000% because of the number of collaborators they have to help with issue/bug tracking and PR's.

I'm also a member of a private organization that functions in much the same way. I collaborate on the project, but now I'm going to be costing them $9/month when I paid a $100 one time fee for the original product. So now I'm going to get booted from the organization or we'll be migrating to a new platform (likely self hosted).

I think the pricing for users is awesome but they basically shifted the cost onto organizations, many of whom will now leave because they can't afford such a dramatic increase in price.

0

u/Edg-R May 11 '16

I am an existing organization customer and prefer the per-repository plans. Can I remain on my current plan?

Yes, you can choose to continue paying based on the number of repositories you use. You can also upgrade or downgrade in the legacy repository structure based on the number of repositories you need.


Can't they just stay on the same per-repo plan?

5

u/Yurishimo May 11 '16

For now. They said no guarantee after 12 months

1

u/[deleted] May 11 '16

In which case they'd still have 12 months from GitHub announcing that to decide to switch.

No. At this time we are not enforcing a timeline to move and if in the future we do decide to set a timeline we are committing to giving you at least 12 months.

2

u/Yurishimo May 12 '16

Which means they'll still be screwed in 12 months as opposed to immediately. That doesn't make it better.

1

u/[deleted] May 12 '16

Still gives them time to switch their repos to something else or come up with an in-house solution. It's a lot better than GitHub changing their plans without notice.

0

u/dacjames May 12 '16

Not for all organizations. My team of about twenty people has a couple hundred repositories so if we used hosted Github, this would be a big savings. Thankfully, we use GHE, so we've been paying per-user already.

For individuals, the new pricing is great. I'll probably shut down my GitLab server this weekend: the UX is awful compared to GitHub and it's a pain to manage updates myself. The only reason not to use GitHub in the past has been the ridiculously low repository limits.

2

u/Yurishimo May 12 '16

I understand that for some organizations it absolutely makes more sense, but for others (like the ones I described) it will force a move or a mass exodus of their collaborators.

The better option would have been to leave both organization payment options available. If you want unlimited repos, awesome, pay the $9/month/user. Otherwise, pay $25 and stay limited to the 5 repos you have, but you can invite as many people as you want (as it is now). For teams with large amounts of repos, the math should eventually swap to make a per user approach more desirable.

1

u/dacjames May 12 '16

To each their own, for sure. I just hated being constrained, design-wise, by artificial limits. I am a bit surprised they did not preserve both options, particularly since they have no plans to convert old accounts.

Considering that GitHub provides far and away the best quality product, I doubt they will see a mass exodus. Hey, they are getting at least one new customer!

1

u/[deleted] May 12 '16

Personally, as a private user I love using GitHub. In the organisation we also use it, but with the new pricing we will be migrating the organisation repos to GitLab.

I've never liked the looks of BitBucket. Additionally, I discovered a bug in their automatic branch cleanup, which was addressed with a confirmation of the bug, but not prioritizing it. I left and never looked back.

4

u/canadianpersonas May 11 '16

Sweet. I was just about to run out of private repos too.

3

u/Hakim_Bey May 11 '16

Same here! I thought i'd have to upgrade, i guess not :)

4

u/[deleted] May 11 '16

phpdevster mentioned in the comments that collaborators count in the users per month. This sucks for anyone on that plan with over 5 users, you would have to pay an extra $9 a month to allow a dev from somewhere else to collaborate.

4

u/[deleted] May 11 '16

I think $7 is absolutely reasonable. I've been paying twice that just to keep private projects on GitHub because I enjoy their UI more than BitBucket, so I'm super happy to see a price drop and unlimited repos.

I can't believe there are so many developers complaining about charging $7 for something they use nearly every day.

1

u/[deleted] May 11 '16

God forbid you ask one of those same devs if they can do something for free. Where's all those $10-15k sites they all apparently have no problem to get? $7 shouldn't be a problem for all these pros.

6

u/thatmarksguy May 11 '16

Horrible title.

13

u/[deleted] May 11 '16

"FOR PAID USERS". Saved you a click.

3

u/ummjiga May 11 '16

Annnd this is exactly why I use bitbucket

3

u/DJDarkViper May 11 '16

I use Bitbucket on the daily myself, legit no incentive to switch to github for private repository if I now have to pay for them. I dont need to fart around in the Bitbucket UI for the grand majority of the time km developing so it makes no difference to me.

Tried self hosting a gitlab instance, but at the time it was version 5 and it was disgustingly terrible. I see its grown up considerably but I dont feel like I'd benefit all that much by making the switch over there either.

Nah, me and my 72 repositories are fine on Bitbucket. It's not going anywhere, and my collaborators never reach over 3 per repo so I've never even hit that limit yet

2

u/nathanwoulfe May 11 '16

So it appears I have a $7 off forever coupon active on my account, so unlimited free private repos it is...

3

u/rich97 May 11 '16

$25/month for your first five users

So does that mean that it's $25/5 users/month and $9/user/month after that?

Even if not, awesome news.

10

u/[deleted] May 11 '16 edited May 11 '16
number of usersbaseextratotal
1-5$25$0$25
6$25$9$34
7$25$18$43
8$25$27$52
etc...

2

u/gfunk84 May 11 '16

$9 per additional user after the first 5, or $9 per user including the first 5? I.e. For 6 users, is it $34 or $79?

3

u/[deleted] May 11 '16

Updated the chart. Wording is strange.

4

u/[deleted] May 11 '16 edited May 11 '16

Kind of bones organizations, to be honest. As an example, our team at work previously paid $100 a month for 50 private repos and unlimited users. 50 repos is enough to cover a BUNCH of projects for our team of 20 or so devs. It'll likely sustain us for a long time. However, in the new pricing scheme, keeping the same number of repos and team members, the price would be around $170 a month.

That said, I'm glad we're grandfathered into the old plan. IMO, most teams would benefit from the old plans... More users / less repos is better for teams, while more repos / less users is better for individuals.

2

u/[deleted] May 11 '16

24 users on our account right now, including a QA team to submit issues. This sucks.

1

u/Shadow14l May 11 '16

I feel like Issues/Read access shouldn't count. But then again, I could see how you could easily abuse that.

1

u/dacjames May 12 '16

Our team of about the same size has several hundred repositories. How on earth is 50 repositories enough? With even one repository per person, you're almost half full! Do you have to control who can create repositories?

2

u/[deleted] May 12 '16

...what? Do you guys not have centralized projects? It sounds like you're saying everyone has their own clones uploaded to the Github account. Or do you really have a few hundred unique projects?

I'm so confused. Even looking at notable public dev organizations on Github, teams like the Angular team with 60 people have around 100 repos. Facebook has over 300 team members and around 200 repos.

3

u/dacjames May 12 '16

We use way more than one repo per project. Our client libraries have one repo per supported language, plus one repo per internal service, half a dozen docker-* repos for third party services, one for our CLI, one example application, one for the docs site, one for our top-level ansible repository, a couple for various integrations and ten or so mirrors of public repos (no internet access in prod). That's just within the main Org for the project; there is about a dozen repos for shared Ansible roles, about 30 chef cookbooks (we're mid-transition), and 10 or so under automation and reporting. The average user has about 5 repos under their personal Org for various one-offs, dotfiles, half-baked ideas and the like; that is not counting forks.

We could potentially consolidate a bit but there is no way we could get down to 50 repos without making major sacrifices in flexibility.

3

u/[deleted] May 12 '16

And you have 20 team members managing all of that? How on earth do you guys keep track of everything?

Mind you, what you described is very similar to our team, it's just that we've avoided going too granular in our repos because we've found it makes managing code incredibly difficult. We saw ourselves going that direction of modularity for the sake of modularity and more mistakes started being made, repos were overlapping in uses, lines were being blurred. We took a sprint and consolidated a lot of things into a structure that made more sense for us.

That said, I don't doubt that it's possible to manage a couple hundred repos with 20 people, but I do question how efficient it is. That may be because I've never worked for a team that needed that many org repositories, even when working on much larger teams.

2

u/dacjames May 12 '16

Haha, we "run lean," which is business speak for being understaffed, so that is part of why the numbers seem extreme. We could likely consolidate a bit, but there are a number of advantages to many small repos versus a few big ones.

A lot of tools assume one repo per package. For example, pip can only install a single Python project directly from git. Jenkins most easily triggers on changes at the repository level. When we started, Docker only supported single Dockerfiles. Ansible Galaxy requires one role per repo. And so on.

The other advantage is that reduces false coupling. Sub-projects within the same repo are harder to version independently. If you do, the commit hash is no longer a guaranteed unique identifier because changes could occur only in other trees. If you don't, a fix for A would trigger a new versions of B, even if B is unchanged.

On the other hand, it is definitely more work to manage and can make the project hard to understand for new developers and for customers. This is exacerbated by the fact that git is fucking awful at nesting repositories. Both approaches to doing so, submodules and subtrees, suck in their own way and both are half baked.

We rely on tooling at the org level (one of these day, I'll build a proper git-org plugin) to make this workable. Our team functions more ad-hoc and independently than most, so it works well enough for us.

2

u/flyercreek May 11 '16

Organization: $9/user/month, $25/month for your first five users

4

u/panchtatvam May 11 '16

ह्म । मैं तो पहले से ही गिटलैब का प्रयोग कर रहा हूँ जो ये सब शुल्क रहित देता है । :P


Hmmm.. I'm already using Gitlab which gives all this for free. :P

0

u/[deleted] May 11 '16

[deleted]

3

u/RotationSurgeon 10yr Lead FED turned Product Manager May 11 '16

That would be Hindi.

2

u/panchtatvam May 12 '16

हिन्दी है ये रोचक भाषा ।


This interesting language is Hindi.

2

u/rogue780 May 11 '16

What does this give me that gitlab doesn't?

1

u/adenzerda May 11 '16

Nice; I was bumping up on my limit on the micro level. Waking up and getting free stuff without doing anything is pretty pleasant

1

u/crazycow013 May 11 '16

super stoked about this update, I'd been housing multiple projects under one repo to stay under the limit

1

u/baerkins May 12 '16

My team has a 'BitBucket Graveyard' where we would export old private repos once they became deadweight for our GH repository count. I always felt like I was abusing BB for doing it, but it also made sense.

The UI of BitBucket, and for that matter Atlassian as a whole, has always bothered me. There's too much open space on large monitors and things just don't seem intuitive.

1

u/[deleted] May 12 '16

Does anybody have an experience with self-hosted solutions like Gogs? It seems that running a $15/mo droplet at DigitalOcean (+ some backups) is much cheaper solution than using GitHub.

0

u/[deleted] May 11 '16

[deleted]

6

u/[deleted] May 11 '16

The student pack is limited to 2 years, isn't it?

I signed up for it, then found BitBucket, which I'm just fine with. I don't necessarily mind having public repositories, but when it's code from my internship or course assignments, I can't just throw that stuff on a public GitHub and feel OK about it.

1

u/bipshark May 12 '16

You can renew it after 2 years if you still are a student.

5

u/APimpNamedAPimpNamed May 11 '16

Or use bit bucket and get unlimited private repos without paying or maintaining a special status.

2

u/[deleted] May 11 '16

[removed] — view removed comment

2

u/mailto_devnull May 11 '16

Better use it within 12 months! They expire now.

1

u/Qscfr May 11 '16

Shit. Ive had the code for more than a year.

1

u/apotropaic May 12 '16

Woah what's this code?? Please share

1

u/Qscfr May 12 '16

It's unique to each person. One time use.

1

u/apotropaic May 12 '16

Dang. Where'd you guys get it from?

1

u/Qscfr May 12 '16

student pack. I'm a highschooler but it still worked for me. I had to send proof I am a student. I thought it was college only. I suppose it could work if you were enrolled into some online bootcamp like freecodecamp.

1

u/ClikeX back-end May 12 '16

It probably expired May 1st in that case. It did for me.

10

u/[deleted] May 11 '16

[removed] — view removed comment

1

u/jake61341 May 12 '16

Ditto. Saving $15 here. I currently have 23 projects but haven't put 3 on GH because I only had 20 private repos and it didn't make sense to upgrade to the next plan, 50 repos.