1. 13 Dec, 2020 1 commit
    • Georges Racinet's avatar
      Bitbucket import: removed most of the code · fdb960fc35b5
      Georges Racinet authored
      There aren't Mercurial repositories to import from Bitbucket
      any more: our divergence with upstream on this is now just a
      drag.
      
      Removal is partial in order not to jeopardize the installation
      of 0.18.0rc1 on foss.h.n (second OAuth, worker queue registration
      etc.). In all cases, behaviour on such configurations will be
      tested and adjusted before release.
      
      --HG--
      branch : heptapod
      fdb960fc35b5
  2. 13 Oct, 2019 1 commit
    • Georges Racinet's avatar
      Bitbucket import: detailed author info for issues, MRs and comments · 8c4feabb5a30
      Georges Racinet authored
      This creates a link to the Bitbucket user profile, whose text is
      nickname(display_name) if they don't coincide.
      
      Because this is obviously very specific to BitBucket, we don't use
      the generic `ImportFormatter`
      
      This solves #102, and makes a divergence with upstream GitLab for
      the sake of - I hope - much better clarity for our users.
      
      --HG--
      branch : heptapod-0-6-stable
      8c4feabb5a30
  3. 17 Oct, 2019 1 commit
    • Georges Racinet's avatar
      lib/bitbucket: backported up to f155cc9034f2 from GitLab · 875a89c436fa
      Georges Racinet authored
      This notably solves the username issue (#102)
      by using nickname everywhere.
      
      Did not include the filtering, would need to check the
      consequences in app/ and notably views, but could be
      done as a follow-up.
      
      It should also be less memory-hungry thanks to the
      freezing of litterals.
      
      
      commit f155cc9034f2247c5d368f9b0212ad44248b0c5e
      Author: GitLab Bot <gitlab-bot@gitlab.com>
      Date:   Wed Oct 16 03:06:12 2019 +0000
      
          Add latest changes from gitlab-org/gitlab@master
      
      commit e66d6781ef36e39d15b1b9bc84cc30e87969edad
      Author: GitLab Bot <gitlab-bot@gitlab.com>
      Date:   Thu Sep 26 18:06:29 2019 +0000
      
          Add latest changes from gitlab-org/gitlab@master
      
      commit 736b5908da637cbb35eb5fd1a10790c2ee17fcde
      Author: Dinesh Panda <dineshpanda92@gmail.com>
      Date:   Tue Sep 10 08:11:43 2019 +0000
      
          Avoid calling freeze on already frozen strings in lib
      
      commit 5ba77a49997221cc646f158d56c86a636b42e735
      Author: George Koltsov <gkoltsov@gitlab.com>
      Date:   Wed Aug 7 14:01:18 2019 +0100
      
          Add author lines to project import comments
      
      commit d598e4fd937797a7f7778f5b4158ebf73139ce7f
      Author: gfyoung <gfyoung17@gmail.com>
      Date:   Sat Oct 6 16:10:08 2018 -0700
      
          Enable more frozen string in lib/**/*.rb
      
          Enables frozen for the following:
      
          * lib/*.rb
          * lib/banzai/**/*.rb
          * lib/bitbucket/**/*.rb
          * lib/constraints/**/*.rb
          * lib/container_registry/**/*.rb
          * lib/declarative_policy/**/*.rb
      
          Partially addresses #47424.
      
      --HG--
      branch : heptapod-0-6-stable
      875a89c436fa
  4. 01 Oct, 2019 1 commit
    • Georges Racinet's avatar
      bitbucket: backported git commit 4bfd54f3d2e from GitLab 11 · beaee2685b08
      Georges Racinet authored
      original commit info
      
      commit 4bfd54f3d2e303d751d49834879867f3c62156e9
      Author: Bart Libert <bart.libert@gmail.com>
      Date:   Thu Apr 5 13:44:18 2018 +0200
      
          Import bitbucket issues that are reported by an anonymous user
      
          For these kind of issues, the "reporter" field is present but zero.
          In such a case, "fetch" will not return the default value, but it will
          return nil.
          Hence, importing fails, because the "username" field of nil is referenced
      
          Fixes issue #44381
      
      --HG--
      branch : heptapod-0-6-stable
      beaee2685b08
  5. 07 Aug, 2019 1 commit
  6. 07 Oct, 2018 1 commit
    • gfyoung's avatar
      Enable more frozen string in lib/**/*.rb · 2b18511b0e6f
      gfyoung authored
      Enables frozen for the following:
      
      * lib/*.rb
      * lib/banzai/**/*.rb
      * lib/bitbucket/**/*.rb
      * lib/constraints/**/*.rb
      * lib/container_registry/**/*.rb
      * lib/declarative_policy/**/*.rb
      
      Partially addresses #47424.
      2b18511b0e6f
  7. 24 May, 2018 1 commit
    • Bart Libert's avatar
      Import bitbucket issues that are reported by an anonymous user · abd64b7d280b
      Bart Libert authored
      For these kind of issues, the "reporter" field is present but zero.
      In such a case, "fetch" will not return the default value, but it will
      return nil.
      Hence, importing fails, because the "username" field of nil is referenced
      
      Fixes issue #44381
      abd64b7d280b
  8. 16 Dec, 2016 3 commits
  9. 14 Dec, 2016 1 commit
  10. 13 Dec, 2016 1 commit
  11. 07 Dec, 2016 2 commits
  12. 22 Nov, 2016 1 commit