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

    Github for code storage

    IT Discussion
    11
    25
    1.6k
    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.
    • 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
                                • FiyaFlyF
                                  FiyaFly @JaredBusch
                                  last edited by

                                  @JaredBusch said in Github for code storage:

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

                                  I'm late both to the post and the update, but this is the first I read about this, and am now very, very excited.

                                  I've been using Bitbucket for private repos, and I didn't run into any issues with them, but man I scoured a year ago trying to find the best alternatives because I didn't want to pay for Github. This is awesome.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @FiyaFly
                                    last edited by

                                    @FiyaFly said in Github for code storage:

                                    I've been using Bitbucket for private repos, and I didn't run into any issues with them, but man I scoured a year ago trying to find the best alternatives because I didn't want to pay for Github. This is awesome.

                                    Why not GitLab which has always been free, and is totally open source?

                                    FiyaFlyF 1 Reply Last reply Reply Quote 0
                                    • FiyaFlyF
                                      FiyaFly @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Github for code storage:

                                      @FiyaFly said in Github for code storage:

                                      I've been using Bitbucket for private repos, and I didn't run into any issues with them, but man I scoured a year ago trying to find the best alternatives because I didn't want to pay for Github. This is awesome.

                                      Why not GitLab which has always been free, and is totally open source?

                                      It was long enough ago that I would have to review my notes, but I think it had to do with data encryption, and at the time I saw BitBucket had a plugin for that.

                                      If memory serves, that plugin actually didn't work, and I never had the time nor energy to go on another hunt. Was attempting to adhere to data encryption standards here at work because some of my stuff might have identifiable information in it.

                                      FiyaFlyF 1 Reply Last reply Reply Quote 0
                                      • FiyaFlyF
                                        FiyaFly @FiyaFly
                                        last edited by FiyaFly

                                        @FiyaFly said in Github for code storage:

                                        @scottalanmiller said in Github for code storage:

                                        @FiyaFly said in Github for code storage:

                                        I've been using Bitbucket for private repos, and I didn't run into any issues with them, but man I scoured a year ago trying to find the best alternatives because I didn't want to pay for Github. This is awesome.

                                        Why not GitLab which has always been free, and is totally open source?

                                        It was long enough ago that I would have to review my notes, but I think it had to do with data encryption, and at the time I saw BitBucket had a plugin for that.

                                        If memory serves, that plugin actually didn't work, and I never had the time nor energy to go on another hunt. Was attempting to adhere to data encryption standards here at work because some of my stuff might have identifiable information in it.

                                        Also a lot of things have changed since then, and even with this new advent, I'll still have to review where things stand with requirements, desires, and focus.

                                        Currently I mostly use the private repo for my notes storage on my general tasks. Originally it was a factor of I was just getting into using Git for anything and wanted to ensure I had a backup of my notes somewhere. This was not something
                                        my employer would participate in, and almost certainly my boss would have rejected my request for approval, mostly for arbitrary reasons. Since I certainly have 'sensitive' information in my notes, I wanted to ensure that I stayed properly aligned with any and all compliances that may have applied.

                                        Since then... those aren't details to get into on a post, but suffice it to say I have the most care for those compliances in my department.

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