fabric8-ui / fabric8-recommender Goto Github PK
View Code? Open in Web Editor NEWAnalysis and recommendations for app dev
License: Other
Analysis and recommendations for app dev
License: Other
This happens because when the API returns a valid response, the code assumes it is a proper and valid response and hence it fails for some checks.
Convert all .scss
files to .less
and add Stylelint to check code quality. File structure, configurations and rulesets will be updated to match fabric8-ui.
Currently, we display just the count of total unknown licenses ignoring the fact that a license can be unknown for two components, but at stack level this has to be taken only once to show the count.
It sometime takes a while for the network to respond and it is always good to have a loader in such times.
From @christian-posta on June 21, 2017 15:33
See this image:
Copied from original issue: openshiftio/openshift.io#275
Please look into this
"BVT" against every PR should be enabled
Presently , recommender doesn't have Build verification tests running against PR's.
openshiftio/openshift.io#1959
Above issue is closed in openshift.io but it is valid in this recommender portal
Change the current recommender feature's look to make it in sync with the mock.
An example how the stack analyses v2 output look like - there's and array with one analyzed dependency, but the attribute analyzed_dependencies_count says it is zero:
"analyzed_dependencies": [
{
"version": "6.7",
"package": "click"
}
],
"analyzed_dependencies_count": 0,
From @burrsutter on June 7, 2017 17:22
https://screencast.com/t/gATQgadjjBV
shows 2 deps but there are 3, I added one, a bad one
https://github.com/burrsutter/vertxbasic23/blob/master/pom.xml#L44
and no recommendations are offered, even with the bad dep added to my pom.xml
Note: this dep is flagged in Che, just not during the pipeline run
Copied from original issue: openshiftio/openshift.io#207
Issue:
When trying to run npm run test
on MacOS, they console hangs and never gets passed the 'Starting Webdriver and Selenium' step. In order to fix this, the user needs to manually change the run_functional_tests.sh
file to use "nc" instead of "ncat".
Request:
Update run_functional_tests.sh
to use "nc" rather than "ncat". This will allow the tests to run on both Linux and MacOS.
Once fabric8-recommender is running as module we need to port the semantic-release stuff over (see https://github.com/fabric8-ui/ngx-widgets#continuous-delivery--semantic-relases)
Currently the one of the unit test is failing
here is gist log link :https://gist.github.com/naina-verma/2e27afc7b6abfdc9b3243512fe15b36d
While converting fabric8-ui to use Less, @mindreeper2420 and I encountered a new issue with the webpack build. That is, the build fails to compile while complaining that fabric8-stack-analysis-ui cannot locate c3.
ERROR in ./~/fabric8-stack-analysis-ui/src/app/stack/overview/chart-component.js
Module not found: Error: Can't resolve 'c3' in '/Users/dlabrecq/Work/alm/repos/fabric8-ui/node_modules/fabric8-stack-analysis-ui/src/app/stack/overview'
I don't see c3 as a dependency in package.json, but chart-component.js appears to require it.
import * as c3 from 'c3'; <<< Line 7 of chart-component.js
That said, the work around is to modify webpack to use Patternfly's c3 dependency, like so. However, this is something we should resolve in the fabric8-stack-analysis-ui package instead.
resolve: {
...
modules: [helpers.root('src'), helpers.root('node_modules'),
// Todo: fabric8-stack-analysis-ui/src/app/stack/overview/chart-component.js cannot locate c3
helpers.root("node_modules/patternfly/node_modules/c3"),
helpers.root("node_modules/patternfly/node_modules/d3")
]
Note the error is reproducible with the Less conversion branch.
https://github.com/mindreeper2420/fabric8-ui/tree/less-conversion
Remove js modal and reuse existing ng2-modal from shared component
Recommendation list not fetching data from API
Reasons:
It takes up a lot of space in main module.
It makes things clearer and easier to find
@invincibleJai Could you move this? If not, I can take this up.
Stack view is breaking Error (error_handler.js:50 ORIGINAL EXCEPTION: Cannot read property 'stargazers_count' of undefined) @arunkumars08
Set up and configure Semantic Release so that each commit with the correct syntax releases a new version on npmjs.
In stack report, a dropdown has been introduced that enables users to change reports for different manifest files in a multi-module application. Currently, that dropdown displays the full build path of manifest files that includes unnecessary reference of a temporary build location.
See https://www.screencast.com/t/DTyNN6zia
Please display only the meaningful portion from the application's context in the dropdown. Also, please make sure that this change is verified by the UX team.
CC: @jyasveer
Hard coded "stackurl", should pick environment variable
app.component.ts should fetch environment variable , currently the value of stackUrl: string =
is hardcoded
This issues tracks the implementation of unit test cases for all the components in the bayesian workflow.
I'd say that the userstack.dependencies array would contain info taken from the original requirements.txt file.
@Inject(RECOMMENDER_API_URL) apiUrl: string
to inject the api url in to any component, and remove all code that refers to process.envThis helps in easier change and access.
From @luebken on June 7, 2017 14:5
In the stack report the dependencies should report the licenses declared by the project.
Test-1704E469-02
Test-1704E469-03
Test-1704E469-04
Copied from original issue: openshiftio/openshift.io#205
From @burrsutter on June 7, 2017 21:30
https://screencast.com/t/3vK0v13q6p
Copied from original issue: openshiftio/openshift.io#208
The login client needs to be configured to work when imported into fabric8-ui. Possibly in standalone mode too.
outlier_prbability should be outlier_probability:
"recommendations": {
"companion": [],
"usage_outliers": [
{
"package_name": "wheel",
"outlier_prbability": 0.71875
},
{
"package_name": "setuptools",
"outlier_prbability": 0.640625
}
],
"alternate": []
Steps to reproduce:
create and modal and stack report content should be part of it
From @luebken on June 29, 2017 11:33
I started a stack analysis for https://github.com/openshiftio-vertx-boosters/vertx-http-booster
The results seem broken:
curl -sH "Authorization: Bearer $OSIO_TOKEN" $API/stack-analyses/74703fe130004ce2aef674c4dd0dcb48
{
"finished_at": "2017-06-29T10:59:10.516466",
"recommendation": {
"recommendations": {
"component_level": null,
"similar_stacks": []
}
},
"request_id": "74703fe130004ce2aef674c4dd0dcb48",
"result": [
{
"_audit": {
"ended_at": "2017-06-29T10:59:10.516466",
"started_at": "2017-06-29T10:59:10.494493",
"version": "v1"
},
"_release": "None:None:None"
}
],
"schema": {
"name": "stack_analyses",
"url": "http://recommender.api.openshift.io/api/v1/schemas/api/stack_analyses/2-1-4/",
"version": "2-1-4"
},
"started_at": "2017-06-29T10:59:10.494493"
}
Copied from original issue: openshiftio/openshift.io#302
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.