Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 2月 23, 2024
  2. 2月 22, 2024
  3. 2月 21, 2024
  4. 2月 16, 2024
    • Laura Montemayor's avatar
      Add semantic version validation for catalog versions · 8af3ded6
      Laura Montemayor 创作于
      This MR sets up validation for semantic versioning when releasing a new
      vesion of the catalog resource.
      
      * Add migration for adding columns to support parsing of SemVer
      * Updates the Versions::CreateService to use `release.tag` for
        versioning
      * Updates specs that were not using semantic version, thus testing the
        semantic version validation further
      * Quarantines an out of date feature spec
      
      Changelog: added
      未验证
      8af3ded6
  5. 2月 15, 2024
  6. 2月 14, 2024
    • Abdul Wadood's avatar
      Reuse existing projects & groups resolvers for Organization · 9658c879
      Abdul Wadood 创作于
      Here we have changed the base class of Organizations::GroupsResolver and
      Organizations::ProjectsResolver from BaseResolver to GroupsResolver and
      ProjectsResolver respectively to use the existing functionalities of
      both the resolvers.
      
      We also need a `search` argument in the Organizations::ProjectsResolver
      and changing its base class added this argument as well.
      
      The `GroupsResolver` was missing the sort argument which has been added
      as well.
      
      Changelog: added
      未验证
      9658c879
  7. 2月 13, 2024
  8. 2月 10, 2024
  9. 2月 08, 2024
  10. 2月 07, 2024
  11. 2月 06, 2024
  12. 2月 05, 2024
    • Eugenia Grieff's avatar
      Replace taskable argument with name · 5861fc16
      Eugenia Grieff 创作于
      Add name argument to workItemTypes GQL field to be able to query a specific type.
      Also remove the existing (experimental) taskable argument because it becomes redundant.
      
      Changelog: changed
      5861fc16
  13. 2月 02, 2024
  14. 2月 01, 2024
  15. 1月 31, 2024
    • Missy Davies's avatar
      Add CRUD services for pipeline trigger tokens · 9d82ae9d
      Missy Davies 创作于
      This change adds centralized service classes for pipeline trigger token
      CRUD in order to standardize behavior and reduce inconsistent behaviors
      across different endpoints and uses the new CreateService.
      
      Changelog: other
      未验证
      9d82ae9d
  16. 1月 29, 2024
    • Michael Becker's avatar
      Refactor `namespace_projects_resolver_spec` to use less `let` · fadffa35
      Michael Becker 创作于
      While working on [MR 142396][0], a bot mentioned that the
      [`namespace_projects_resolver_spec.rb`][1]
      makes heavy use of `let` for groups and projects.
      
      I have refactored the spec to make use of `let_it_be`
      
      Why 2 less examples
      ======================================================================
      
      Two of my changes resulted in 2 less examples because they were
      exercising the same code and covered by other examples.
      
      1. `it 'finds all projects not aimed for deletion'` and `it 'finds all
         projects not aimed for deletion including the subgroups'` was
         collapsed into 1 example
      
      2. The original `context 'with an user namespace'.it 'finds all
         projects'` and `context 'with an user namespace'.it 'finds all
         projects including the subgroups'` were actually the same example and
         not actually testing distinct situations. I collapsed them into a
         single example
      
      Stats
      ======================================================================
      
      Summary
      -----------------------------------
      
      When running the spec locally with
      
      ```sh
      bundle exec rspec spec/graphql/resolvers/namespace_projects_resolver_spec.rb
      ```
      
      I see the following timing differences in the output:
      
      - before: `Finished in 26.14 seconds (files took 11.58 seconds to load)`
      - after: `Finished in 6.63 seconds (files took 11.43 seconds to load)`
      
      Before
      -----------------------------------
      `RD_PROF=1 bundle exec rspec spec/graphql/resolvers/namespace_projects_resolver_spec.rb`
      
      ```sh
      [TEST PROF INFO] RSpecDissect enabled
      
      Test environment set up in 0.926308698 seconds
      ...............
      [TEST PROF INFO] RSpecDissect report
      
      Total time: 00:23.597
      
      Total `let` time: 00:17.428
      Total `before(:each)` time: 00:23.036
      
      Finished in 26.92 seconds (files took 11.62 seconds to load)
      15 examples, 0 failures
      
      [TEST PROF INFO] Time spent in factories: 00:17.444 (61.5% of total time)
      ```
      
      After
      -----------------------------------
      `RD_PROF=1 bundle exec rspec spec/graphql/resolvers/namespace_projects_resolver_spec.rb`
      
      ```sh
      [TEST PROF INFO] RSpecDissect enabled
      
      Test environment set up in 0.878414488 seconds
      .............
      [TEST PROF INFO] RSpecDissect report
      
      Total time: 00:01.030
      
      Total `let` time: 00:00.420
      Total `before(:each)` time: 00:00.475
      
      Finished in 6.63 seconds (files took 11.43 seconds to load)
      13 examples, 0 failures
      
      [TEST PROF INFO] Time spent in factories: 00:02.126 (26.4% of total time)
      ```
      
      resolves: https://gitlab.com/gitlab-org/gitlab/-/issues/438946
      
      [0]:https://gitlab.com/gitlab-org/gitlab/-/merge_requests/142396
      [1]:https://gitlab.com/gitlab-org/gitlab/-/blob/05b9a56233fa157c853e78a24b874f08c0730420/spec/graphql/resolvers/namespace_projects_resolver_spec.rb
      未验证
      fadffa35
  17. 1月 26, 2024
  18. 1月 25, 2024
  19. 1月 24, 2024
  20. 1月 23, 2024
  21. 1月 22, 2024
  22. 1月 19, 2024
    • Mario Celi's avatar
      Delete WorkItemUpdateTask mutation · 180aa238
      Mario Celi 创作于
      This mutation was introduced as alpha so
      it doesn't need to follow the deprecation process.
      The mutation is no longer needed so we are removing it.
      
      Changelog: removed
      未验证
      180aa238
  23. 1月 17, 2024
  24. 1月 11, 2024
    • Mireya Andres's avatar
      Add description field for Ci::InstanceVariable and InheritedCiVariable · 37cbc803
      Mireya Andres 创作于
      - Allows users to add a description to instance-level CI variables.
      - Include description in query results for inherited CI variables.
      - Exposes the `description` field so that the frontend can pass the
      values.
      
      Changelog: added
      未验证
      37cbc803
    • Avielle Wolfe's avatar
      Store full include path for CI components · e997b197
      Avielle Wolfe 创作于
      The `path` field on `ci_components` currently holds the file path of the
      component within the component project repository. However, we aren't
      currently using that data. Instead, we need to provide the include path
      for the component so we can display it on the catalog resource details
        page. This commit stores the include path instead of the file path.
      
      Existing component records will still have the file path. We'll decide
      later whether it is necessary to update them with a data migration.
      
      Changelog: changed
      未验证
      e997b197
  25. 1月 09, 2024
  26. 1月 08, 2024
  27. 1月 05, 2024
  28. 1月 04, 2024
加载中