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
WebUI: Remove offline version of WebUI #628
Conversation
|
Self-NACK, build fails. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only data dir and tests related to it should be removed. You are also removing whole test directory but there are also unit tests like binding_tests.js, build_test.js, certificate_test.js, ip_tests.js, ordered_map_tests.js, utils_test,js which we should kept because they have value. Issue is that they are not in CI and we should focus(different PR) on running them there. Could be in a different test framework.
46c9535
to
250a77b
Compare
|
I returned back test files and removed only JSON files. I also created ticket which proposes fixing WebUI unit tests, as you mentioned. https://pagure.io/freeipa/issue/6974 |
This reverts commit 24525fd. The reverted commit removed symlinks which allowed unit tests to access FreeIPA code. https://pagure.io/freeipa/issues/6447
JSON files were used as source of information for offline WebUI. https://pagure.io/freeipa/issue/6447
The plugins symlink points to non-existing directory and is currently not used. It also causes errors in freeipa-pr-ci during creating tarball. https://pagure.io/freeipa/issue/6447
This patchset returns back js directory with its symlinks into the repository so it does not need to be created during build. https://pagure.io/freeipa/issue/6447
Remove all json files which were used for testing WebUI offline and are no more useful. Also removes all lines in other files/scripts which refer to the offline version of WebUI.
https://pagure.io/freeipa/issue/6447