Microsoft bought github - where can I keep my code to use with serverless now?


#1

I won’t be using github, as soon as I pick a replacement.

From a serverless pov what’s the best replacement?


#2

From a serverless pov it’s completely irrelevant. Pick any version control system that makes you happy or don’t use one. It really doesn’t matter.


#3

OK? I see that all the serverless project are structured like github projects???
So, it it doesn’t matter where do I start to structure a project?
I know there’s got to be a serveless.yml and, for instance, a lambda.py – but ??? what else and how structured

That’s my question - point me to the docs and I’m happy to read


#4

@lesatdgl We use Bitbucket.com to host our repos. As @buggy where you host your serverless projects is totally independent of their structure.


#5

I’m not sure what you mean by structured like github projects? There isn’t a github project structure. A Serverless Framework project is effectively any folder with a serverless.yml file in it. Everything else can be structured in any way you want. Within a single repo you can put multiple Serverless projects if you want. It certainly has nothing to do with where your project is hosted.


#6

www.gitlab.com is almost identical to github. Plus you can keep projects secret for free instead of having to pay on github. The free option at gitlab is fine for my purposes since my testing is done on AWS.

There is also Amazon CodeCommit. It is free or $1/mth. AWS CodeCommit does not support forks of public repos. Not supporting public forks is an issue if you work on the Android and Linux kernel source code like I do. It is not a fatal flaw, but it is inconvenient. Both GitHub and GitLab support it. With public forks GitHub has a master copy of Linux/Android and then you only need to store your deltas to the master copy in your account. If you aren’t working on a giant open source project this won’t matter to you.

CodeCommit gives you 50GB for free. That is plenty for a normal project. My projects are atypical and the repos are 17GB in size. That is not counting Android/Linux which are huge (~200GB). Git is actually quite good at compressing things. Just don’t store binaries in your repos and you will be fine.


#7

OK, that’s helpful - I guess my natural anal-ness was assuming much more organization than is necessary :wink: - probably a product of decades with Big Blue