Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
38cfaacf
Commit
38cfaacf
authored
Mar 16, 2021
by
Kassio Borges
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled phabricator importer by default
parent
a357b6a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
12 deletions
+8
-12
changelogs/unreleased/kassio-phabricator-enabled-by-default.yml
...logs/unreleased/kassio-phabricator-enabled-by-default.yml
+5
-0
config/feature_flags/development/phabricator_import.yml
config/feature_flags/development/phabricator_import.yml
+1
-1
doc/user/project/import/phabricator.md
doc/user/project/import/phabricator.md
+1
-10
lib/gitlab/phabricator_import.rb
lib/gitlab/phabricator_import.rb
+1
-1
No files found.
changelogs/unreleased/kassio-phabricator-enabled-by-default.yml
0 → 100644
View file @
38cfaacf
---
title
:
Enabled phabricator importer by default
merge_request
:
56765
author
:
type
:
added
config/feature_flags/development/phabricator_import.yml
View file @
38cfaacf
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/groups/gitlab-org/-/epics/1197
milestone
:
'
12.0'
type
:
development
group
:
group::import
default_enabled
:
fals
e
default_enabled
:
tru
e
doc/user/project/import/phabricator.md
View file @
38cfaacf
...
...
@@ -36,13 +36,4 @@ of the project being imported into, then the user will be linked.
## Enabling this feature
While this feature is incomplete, a feature flag is required to enable it so that
we can gain early feedback before releasing it for everyone. To enable it:
1.
Run the following command in a Rails console:
```
ruby
Feature
.
enable
(
:phabricator_import
)
```
1.
Enable Phabricator as an
[
import source
](
../../admin_area/settings/visibility_and_access_controls.md#import-sources
)
in the Admin Area.
Enable Phabricator as an
[
import source
](
../../admin_area/settings/visibility_and_access_controls.md#import-sources
)
in the Admin Area.
lib/gitlab/phabricator_import.rb
View file @
38cfaacf
...
...
@@ -5,7 +5,7 @@ module Gitlab
BaseError
=
Class
.
new
(
StandardError
)
def
self
.
available?
Feature
.
enabled?
(
:phabricator_import
)
&&
Feature
.
enabled?
(
:phabricator_import
,
default_enabled: :yaml
)
&&
Gitlab
::
CurrentSettings
.
import_sources
.
include?
(
'phabricator'
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment