Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add lastModified field to generated index file #248

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add and update test data
Signed-off-by: Jordan Dubrick <[email protected]>
Jdubrick committed Jun 21, 2024
commit 840427528a58715a8a8b570effe3c064a30feaf7
45 changes: 30 additions & 15 deletions index/generator/tests/registry/index_main.json
Original file line number Diff line number Diff line change
@@ -27,7 +27,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2023-04-08"
},
{
"version": "1.1.0",
@@ -47,7 +48,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2023-11-08"
}
]
},
@@ -80,7 +82,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-05-13"
}
]
},
@@ -111,7 +114,8 @@
"deploy": false,
"run": true,
"test": true
}
},
"lastModified": "2024-04-23"
}
]
},
@@ -144,7 +148,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-04-29"
}
]
},
@@ -176,7 +181,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-05-13"
}
]
},
@@ -228,7 +234,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-05-13"
}
]
},
@@ -269,7 +276,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-04-22"
}
]
},
@@ -318,7 +326,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-05-27"
}
]
},
@@ -350,7 +359,8 @@
"deploy": false,
"run": true,
"test": true
}
},
"lastModified": "2024-03-25"
}
]
},
@@ -382,7 +392,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-05-28"
}
]
},
@@ -414,7 +425,8 @@
"deploy": false,
"run": true,
"test": false
}
},
"lastModified": "2024-05-28"
}
]
},
@@ -436,7 +448,8 @@
"origin": "https://github.com/redhat-developer/devfile-sample"
}
},
"description": "nodejs with devfile v2.0.0"
"description": "nodejs with devfile v2.0.0",
"lastModified": "2024-06-05"
},
{
"version": "1.0.1",
@@ -447,7 +460,8 @@
"origin": "https://github.com/nodeshift-starters/devfile-sample"
}
},
"description": "nodejs with devfile v2.2.0"
"description": "nodejs with devfile v2.2.0",
"lastModified": "2024-06-05"
}
]
},
@@ -471,7 +485,8 @@
"origin": "https://github.com/elsony/devfile-sample-code-with-quarkus.git"
}
},
"description": "java quarkus with devfile v2.0.0"
"description": "java quarkus with devfile v2.0.0",
"lastModified": "2024-04-19"
}
]
}
81 changes: 81 additions & 0 deletions index/generator/tests/registry/last_modified.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"stacks": [
{
"name": "go",
"version": "1.1.0",
"lastModified": "2023-11-08T12:54:08+00:00"
},
{
"name": "go",
"version": "1.2.0",
"lastModified": "2023-04-08T11:51:08+00:00"
},
{
"name": "java-maven",
"version": "1.1.0",
"lastModified": "2024-05-13T12:32:02+02:00"
},
{
"name": "java-openliberty",
"version": "0.5.0",
"lastModified": "2024-04-23T06:20:34-04:00"
},
{
"name": "java-quarkus",
"version": "1.1.0",
"lastModified": "2024-04-29T17:08:43+03:00"
},
{
"name": "java-springboot",
"version": "1.1.0",
"lastModified": "2024-05-13T12:32:02+02:00"
},
{
"name": "java-vertx",
"version": "1.1.0",
"lastModified": "2024-05-13T12:32:02+02:00"
},
{
"name": "java-wildfly-bootable-jar",
"version": "1.0.0",
"lastModified": "2024-05-27T11:00:03+02:00"
},
{
"name": "java-wildfly",
"version": "1.0.0",
"lastModified": "2024-04-22T23:00:14+02:00"
},
{
"name": "nodejs",
"version": "1.0.0",
"lastModified": "2024-03-25T12:16:30-04:00"
},
{
"name": "python-django",
"version": "1.0.0",
"lastModified": "2024-05-28T17:20:11+02:00"
},
{
"name": "python",
"version": "1.0.0",
"lastModified": "2024-05-28T17:20:11+02:00"
}
],
"samples": [
{
"name": "nodejs-basic",
"version": "1.0.0",
"lastModified": "2024-06-05T15:26:11-04:00"
},
{
"name": "nodejs-basic",
"version": "1.0.1",
"lastModified": "2024-06-05T15:26:11-04:00"
},
{
"name": "code-with-quarkus",
"version": "1.1.0",
"lastModified": "2024-04-19T11:45:48+01:00"
}
]
}