ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Github for code storage

    Scheduled Pinned Locked Moved IT Discussion
    25 Posts 11 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • IRJI
        IRJ
        last edited by

        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?

        DustinB3403D dafyreD JaredBuschJ ObsolesceO 4 Replies Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @IRJ
          last edited by

          @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. .

          DanpD 1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates @IRJ
            last edited by

            @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.

            1 Reply Last reply Reply Quote 1
            • stacksofplatesS
              stacksofplates
              last edited by

              The biggest limits on GitLab are large organization things like burndown charts and Epic creation for kanban. A lot of stuff like that.

              1 Reply Last reply Reply Quote 1
              • SkyetelS
                Skyetel
                last edited by

                We use Bitbucket and love it. http://bitbucket.org

                IRJI JaredBuschJ 2 Replies Last reply Reply Quote 0
                • dafyreD
                  dafyre @IRJ
                  last edited by dafyre

                  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.

                  1 Reply Last reply Reply Quote 0
                  • IRJI
                    IRJ @Skyetel
                    last edited by

                    @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

                    black3dynamiteB stacksofplatesS 2 Replies Last reply Reply Quote 0
                    • black3dynamiteB
                      black3dynamite @IRJ
                      last edited by

                      @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

                      57054bd8-bde4-44ca-892d-8df00ffbbd5e-image.png

                      1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates @IRJ
                        last edited by

                        @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.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • SkyetelS
                          Skyetel
                          last edited by

                          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 🙂

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @Skyetel
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @stacksofplates
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch
                                last edited by JaredBusch

                                Github also has unlimited free repos since January.

                                a48e0553-5136-4f18-84ee-56a283b90ded-image.png

                                1 Reply Last reply Reply Quote 3
                                • JaredBuschJ
                                  JaredBusch @IRJ
                                  last edited by JaredBusch

                                  @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.

                                  stacksofplatesS 1 Reply Last reply Reply Quote 1
                                  • DanpD
                                    Danp @DustinB3403
                                    last edited by

                                    @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.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 1
                                    • JaredBuschJ
                                      JaredBusch @Danp
                                      last edited by JaredBusch

                                      @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.

                                      FiyaFlyF 1 Reply Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce @IRJ
                                        last edited by

                                        @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.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 2
                                        • stacksofplatesS
                                          stacksofplates @JaredBusch
                                          last edited by

                                          @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.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @Obsolesce
                                            last edited by

                                            @Obsolesce 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?

                                            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.

                                            Except he wants to make them public for others to use also.

                                            But still good advice to try and break things out to parameters and functions.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post