Github for code storage
-
It seems like some of you are using github for code storage. I am starting write more and more code as of late and would like a better way to organize it in the cloud.
What solution are your using? and if you are using github, how are you organizing it?
-
Github / Gitlab are all fine options.
Organize your code by the project its for. Or "make projects" for your code. This way it's this code for XYZ.
-
I guess another question would also be how do you handle scrubbing of identifying data such as IPs , emails, or hostnames? Can your privately highlight any fields that should be changed?
-
@IRJ said in Github for code storage:
I guess another question would also be how do you handle scrubbing of identifying data such as IPs , emails, or hostnames?
You could of course use a paid account with Github and have private repositories. These cost money obviously.
Gitlab offers private repo's as well at no cost, but other limits. So you don't have to remove such details.
@IRJ said in Github for code storage:
Can your privately highlight any fields that should be changed?
Not sure what you mean by this in particular. .
-
@IRJ said in Github for code storage:
It seems like some of you are using github for code storage. I am starting write more and more code as of late and would like a better way to organize it in the cloud.
What solution are your using? and if you are using github, how are you organizing it?
I use hosted GitLab. It's free for private repos. Plus the runners are free as well if you host them. It's an awesome service.
-
The biggest limits on GitLab are large organization things like burndown charts and Epic creation for kanban. A lot of stuff like that.
-
We use Bitbucket and love it. http://bitbucket.org
-
I'm on Gitlab as well... Make everything related its own Git Repo... or combine them where they make sense...
Use Find & Replace in File to clear out private details like IP addresses/hostnames & Passwords.
-
@Skyetel said in Github for code storage:
We use Bitbucket and love it. http://bitbucket.org
I like Atlassian stuff. I am checking this one out as there does not appear to be many limitations for free
-
@IRJ said in Github for code storage:
@Skyetel said in Github for code storage:
We use Bitbucket and love it. http://bitbucket.org
I like Atlassian stuff. I am checking this one out as there does not appear to be many limitations for free
-
@IRJ said in Github for code storage:
@Skyetel said in Github for code storage:
We use Bitbucket and love it. http://bitbucket.org
I like Atlassian stuff. I am checking this one out as there does not appear to be many limitations for free
Not pushing one or the other but I don't think you would ever see any of the limitations in GitLab. Last I looked I think BitBucket has a limitation of 5 private repos for the free tier. It could have changed though. Or maybe it was 5 users with access to it.
-
I'm definitely not the expert on repos - but I know that our development team is madly in love with Bitbucket's code pipelines. https://bitbucket.org/product/features/pipelines
Please don't ask me many more questions about it
It also integrates beautifully with Slack which I love
-
@Skyetel said in Github for code storage:
We use Bitbucket and love it. http://bitbucket.org
I dislike them. I find them slow and lacking features compared to Gitlab and Github.
-
@stacksofplates said in Github for code storage:
@IRJ said in Github for code storage:
@Skyetel said in Github for code storage:
We use Bitbucket and love it. http://bitbucket.org
I like Atlassian stuff. I am checking this one out as there does not appear to be many limitations for free
Not pushing one or the other but I don't think you would ever see any of the limitations in GitLab. Last I looked I think BitBucket has a limitation of 5 private repos for the free tier. It could have changed though. Or maybe it was 5 users with access to it.
It is 5 users.
-
Github also has unlimited free repos since January.
-
@IRJ said in Github for code storage:
I guess another question would also be how do you handle scrubbing of identifying data such as IPs , emails, or hostnames? Can your privately highlight any fields that should be changed?
You have to handle this outside of any public repo. Because the entire point of a repo is making all of the commit history available.
What I do is make a copy of whatever script I want to publish and then redact things.
I've let things slip before and had to nuke an entire project to remove any history.
-
@DustinB3403 said in Github for code storage:
You could of course use a paid account with Github and have private repositories
I think this changed a while back so that you can create private repos on GH using a free account.
-
@Danp said in Github for code storage:
@DustinB3403 said in Github for code storage:
You could of course use a paid account with Github and have private repositories
I think this changed a while back so that you can create private repos on GH using a free account.
January 2019, after Microsoft purchased them.
-
@IRJ said in Github for code storage:
I guess another question would also be how do you handle scrubbing of identifying data such as IPs , emails, or hostnames? Can your privately highlight any fields that should be changed?
First, try to write code that doesn't need scrubbing. Create functions that take parameters you define either interactively or that you can set manually in an easy and quick way.
If you can't and just have to hardcode in private data, both GitHub and GitLab allow private repos. I use both just the same now.
-
@JaredBusch said in Github for code storage:
@IRJ said in Github for code storage:
I guess another question would also be how do you handle scrubbing of identifying data such as IPs , emails, or hostnames? Can your privately highlight any fields that should be changed?
You have to handle this outside of any public repo. Because the entire point of a repo is making all of the commit history available.
What I do is make a copy of whatever script I want to publish and then redact things.
I've let things slip before and had to nuke an entire project to remove any history.
GitLab has a nice feature to block secrets. I haven't personally used it yet but they've been touting it in the new release.