Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
extensions.typo3.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
60
Issues
60
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
services
T
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
5005c9a2
Commit
5005c9a2
authored
Dec 15, 2020
by
Tomas Norre Mikkelsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TASK] Change how v is removed from tag before writing version data
parent
0b903b1a
Pipeline
#10186
passed with stages
in 6 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
extensions/ter_fe2/Classes/Command/PackagistCommand.php
extensions/ter_fe2/Classes/Command/PackagistCommand.php
+1
-1
No files found.
extensions/ter_fe2/Classes/Command/PackagistCommand.php
View file @
5005c9a2
...
...
@@ -114,7 +114,7 @@ class PackagistCommand extends Command
foreach
(
$downloadData
[
'package'
][
'downloads'
][
'versions'
]
as
$version
=>
$downloads
)
{
// To ensure packagist version with "v" in tag also gets counted e.g. v4.2.3 is 4.2.3 in TER.
$version
=
preg_replace
(
'#v#'
,
''
,
$version
);
$version
=
ltrim
(
$version
,
'v'
);
$versionFound
=
$this
->
versionRepository
->
findOneByExtensionAndVersionString
(
$extension
,
$version
);
if
(
null
===
$versionFound
)
{
continue
;
...
...
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