Comments (4)
Tags have timestamps so it is easy to retrieve them all then select what we want. And a tag can be assigned to another image other than the one it is assigned at a specific moment(for example, the latest tag), so the tag's timestamp will be updated. and an image can be assigned to multiple tags(for example, latest and 2.0.0).
So what I am thinking of is to trigger a benchmark based on new images which will guarantee that an image is benchmarked automatically only once. And when we have a new tag for an already benchmarked image, we just add that tag to the image's tags list.
from basilisk.
Question here is what would be a good default behavior.
Based on how typical CI tools work I would suggest:
- when adding a new hook no tags scheduled for benchmarking
- when a new tag is added afterwards it is scheduled for benchmarking
- tags from before the hook was added should only be benchmarked when explicitly initiated by the user/admin
To make sure we do not miss any tags, I rather retrieve all tags and not only the latest 10.
from basilisk.
so we should retrieve all the tags that were created after adding the hook, not all the tags from the beginning right?
from basilisk.
That would be enough for now, yes.
But maybe it would be better to retrieve all of them? My thought on this is the following:
The user would need to know which tags are available to know which ones they could trigger manually, right? + I would not expect projects to have tons of tags -> We could probably retrieve all tags each time.
Do tags come with a timestamp when they were created or do you the timestamp separately?
from basilisk.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basilisk.