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
a3d533cd
Commit
a3d533cd
authored
Dec 03, 2020
by
John Long
Committed by
Suzanne Selhorn
Dec 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add composer version info to composer package docs
parent
0d915eeb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
doc/user/packages/composer_repository/index.md
doc/user/packages/composer_repository/index.md
+4
-1
No files found.
doc/user/packages/composer_repository/index.md
View file @
a3d533cd
...
@@ -70,7 +70,10 @@ so that anyone who can access the project can use the package as a dependency.
...
@@ -70,7 +70,10 @@ so that anyone who can access the project can use the package as a dependency.
Prerequisites:
Prerequisites:
-
A package in a GitLab repository.
-
A package in a GitLab repository. Composer packages should be versioned based on
the
[
Composer specification
](
https://getcomposer.org/doc/04-schema.md#version
)
.
If the version is not valid, for example, it has three dots (
`1.0.0.0`
), an
error (
`Validation failed: Version is invalid`
) occurs when you publish.
-
A valid
`composer.json`
file.
-
A valid
`composer.json`
file.
-
The Packages feature is enabled in a GitLab repository.
-
The Packages feature is enabled in a GitLab repository.
-
The project ID, which is on the project's home page.
-
The project ID, which is on the project's home page.
...
...
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