Fixed Phorge reference_pattern
Modified `Integrations::Phorge#reference_pattern` to use a regular expression more closely resembling that of Phorge's own parser, and documented the method's expected behavior as well as justifications for the regex differences. Implemented additional specs for cases where the pattern should and should not match.
显示
- app/models/integration.rb 1 个添加, 1 个删除app/models/integration.rb
- app/models/integrations/phorge.rb 58 个添加, 0 个删除app/models/integrations/phorge.rb
- app/models/project.rb 1 个添加, 0 个删除app/models/project.rb
- config/metrics/counts_all/20240229180548_projects_phorge_active.yml 21 个添加, 0 个删除...rics/counts_all/20240229180548_projects_phorge_active.yml
- config/metrics/counts_all/20240301170823_projects_inheriting_phorge_active.yml 21 个添加, 0 个删除..._all/20240301170823_projects_inheriting_phorge_active.yml
- config/metrics/counts_all/20240301170844_instances_phorge_active.yml 21 个添加, 0 个删除...ics/counts_all/20240301170844_instances_phorge_active.yml
- config/metrics/counts_all/20240301170915_groups_phorge_active.yml 21 个添加, 0 个删除...etrics/counts_all/20240301170915_groups_phorge_active.yml
- config/metrics/counts_all/20240301171403_groups_inheriting_phorge_active.yml 21 个添加, 0 个删除...ts_all/20240301171403_groups_inheriting_phorge_active.yml
- doc/.vale/gitlab/spelling-exceptions.txt 2 个添加, 0 个删除doc/.vale/gitlab/spelling-exceptions.txt
- doc/api/graphql/reference/index.md 1 个添加, 0 个删除doc/api/graphql/reference/index.md
- doc/api/integrations.md 35 个添加, 0 个删除doc/api/integrations.md
- doc/integration/external-issue-tracker.md 1 个添加, 0 个删除doc/integration/external-issue-tracker.md
- doc/user/project/integrations/index.md 1 个添加, 0 个删除doc/user/project/integrations/index.md
- doc/user/project/integrations/phorge.md 35 个添加, 0 个删除doc/user/project/integrations/phorge.md
- lib/api/helpers/integrations_helpers.rb 2 个添加, 0 个删除lib/api/helpers/integrations_helpers.rb
- locale/gitlab.pot 6 个添加, 0 个删除locale/gitlab.pot
- spec/factories/integrations.rb 6 个添加, 0 个删除spec/factories/integrations.rb
- spec/features/projects/integrations/user_activates_issue_tracker_spec.rb 1 个添加, 0 个删除...rojects/integrations/user_activates_issue_tracker_spec.rb
- spec/graphql/types/projects/service_type_enum_spec.rb 1 个添加, 0 个删除spec/graphql/types/projects/service_type_enum_spec.rb
- spec/lib/banzai/filter/references/external_issue_reference_filter_spec.rb 17 个添加, 0 个删除...filter/references/external_issue_reference_filter_spec.rb
加载中
想要评论请 注册 或 登录