Comments (5)
At least one problem is here:
if (builder.name.includes('_')) {
return (
builder.name
.slice(0, builder.name.indexOf('_'))
.toLowerCase()
.indexOf(this.search.toLowerCase()) > -1
This assumes that a builder name is portname_platform and that portname does not contain underscores. The first assumption isn't correct for my installation because I changed the format of the builder names, and the second assumption isn't correct for ports like py-tensorflow_estimator whose names do contain underscores.
Can it access properties of the build? We set the portname
build property to the name of the port.
from buildbot-macports-custom-views.
This assumes that a builder name is portname_platform and that portname does not contain underscores. The first assumption isn't correct for my installation because I changed the format of the builder names, and the second assumption isn't correct for ports like py-tensorflow_estimator whose names do contain underscores.
You're right. I had assumed some weird naming conventions.
Can it access properties of the build? We set the portname build property to the name of the port.
I'm not sure whether that could be done efficiently in the frontend (I'll check and let you know), but we could assign a tag which would basically be the portname. I think we are already doing that: https://github.com/macports-gsoc/macports-buildbot/blob/master/master.cfg#L135
from buildbot-macports-custom-views.
Yes there is a tag for the port name but there are also other tags (_virtual_
and either the macOS version or the platform for non-Darwin workers). Can you differentiate between the tags to find the one that is the port name?
from buildbot-macports-custom-views.
We can assign tags in a particular order (in the buildmaster) such that the first tag (in the list of tags) is always the portname. Then it would be possible to differentiate.
from buildbot-macports-custom-views.
If it preserves the order, then sure.
from buildbot-macports-custom-views.
Related Issues (16)
- Set up testing
- Optimize webpack
- Use moment for date manipulation
- Add e2e tests
- Travis failing
- Add spinners to indicate loading in FilterBuilds, ChangesList tables
- Use indexing to map builds with changes
- Performance testing HOT 3
- Make the views dynamic HOT 5
- lazy load data in views
- Create port build history view HOT 1
- Improve UI
- Upgrade dependencies
- Write documentation
- browser back button doesn't work when going from change->changeslist
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 buildbot-macports-custom-views.