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
1fb2de06
Commit
1fb2de06
authored
Aug 21, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvements to packages UI code
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
8e4bca45
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
config/routes/project.rb
config/routes/project.rb
+1
-1
doc/administration/maven_packages.md
doc/administration/maven_packages.md
+2
-2
ee/spec/features/projects/packages_spec.rb
ee/spec/features/projects/packages_spec.rb
+2
-1
No files found.
config/routes/project.rb
View file @
1fb2de06
...
...
@@ -311,7 +311,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get
'archive/*id'
,
constraints:
{
format:
Gitlab
::
PathRegex
.
archive_formats_regex
,
id:
/.+?/
},
to:
'repositories#archive'
,
as:
'archive'
## EE-specific
resources
:packages
,
only:
[
:index
,
:show
,
:destroy
],
module:
'packages'
resources
:packages
,
only:
[
:index
,
:show
,
:destroy
],
module:
:packages
## EE-specific
resources
:jobs
,
only:
[
:index
,
:show
],
constraints:
{
id:
/\d+/
}
do
...
...
doc/administration/maven_packages.md
View file @
1fb2de06
...
...
@@ -2,7 +2,7 @@
> **Notes:**
-
[
Introduced
][
ee-5811
]
in GitLab 11.3.
-
This document is about the admin guide.
To l
earn how to use GitLab Maven
-
This document is about the admin guide.
L
earn how to use GitLab Maven
repository from
[
user documentation
](
../user/project/maven_packages.md
)
.
When enabled, every project in GitLab will have its own space to store Maven packages.
...
...
@@ -11,7 +11,7 @@ When enabled, every project in GitLab will have its own space to store Maven pac
**Omnibus GitLab installations**
# TODO
# TODO
: Update this section once https://gitlab.com/gitlab-org/gitlab-ee/issues/7253 is resolved
**Installations from source**
...
...
ee/spec/features/projects/packages_spec.rb
View file @
1fb2de06
...
...
@@ -3,7 +3,6 @@ require 'spec_helper'
describe
'Packages'
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:package
)
{
create
(
:maven_package
,
project:
project
)
}
before
do
sign_in
(
user
)
...
...
@@ -19,6 +18,8 @@ describe 'Packages' do
end
context
'when there are packages'
do
let!
(
:package
)
{
create
(
:maven_package
,
project:
project
)
}
before
do
package
...
...
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