Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
API
Commits
9b7bc5ce
Commit
9b7bc5ce
authored
1 year ago
by
Maciej Pasternacki
Browse files
Options
Downloads
Patches
Plain Diff
Add commit timestamp to app list to allow sorting by most recent
parent
1be02cd2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
server_apps.go
+13
-11
13 additions, 11 deletions
server_apps.go
with
13 additions
and
11 deletions
server_apps.go
+
13
−
11
View file @
9b7bc5ce
...
@@ -536,6 +536,7 @@ type jsonApp struct {
...
@@ -536,6 +536,7 @@ type jsonApp struct {
Author
string
`json:"author"`
Author
string
`json:"author"`
Description
string
`json:"description"`
Description
string
`json:"description"`
Version
int
`json:"version"`
Version
int
`json:"version"`
Timestamp
time
.
Time
`json:"timestamp"`
Stars
int
`json:"stars"`
Stars
int
`json:"stars"`
Flow3rSeed
string
`json:"flow3rSeed"`
Flow3rSeed
string
`json:"flow3rSeed"`
}
}
...
@@ -551,6 +552,7 @@ func makeJsonApp(a *appDescriptor) jsonApp {
...
@@ -551,6 +552,7 @@ func makeJsonApp(a *appDescriptor) jsonApp {
Author
:
a
.
appInfo
.
author
,
Author
:
a
.
appInfo
.
author
,
Description
:
a
.
appInfo
.
description
,
Description
:
a
.
appInfo
.
description
,
Version
:
a
.
appInfo
.
version
,
Version
:
a
.
appInfo
.
version
,
Timestamp
:
a
.
appInfo
.
commitObj
.
Committer
.
When
.
UTC
(),
Stars
:
a
.
appInfo
.
stars
,
Stars
:
a
.
appInfo
.
stars
,
Flow3rSeed
:
a
.
appInfo
.
flow3rSeed
,
Flow3rSeed
:
a
.
appInfo
.
flow3rSeed
,
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment