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

WebUI: Remove offline version of WebUI #628

Closed
wants to merge 4 commits into from

Conversation

pvomacka
Copy link

@pvomacka pvomacka commented Mar 20, 2017

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

@pvomacka
Copy link
Author

Self-NACK, build fails.

Copy link
Member

@pvoborni pvoborni left a 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.

@pvomacka pvomacka force-pushed the t6447 branch 2 times, most recently from 46c9535 to 250a77b Compare May 23, 2017 11:39
@pvomacka
Copy link
Author

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

@stlaz
Copy link
Contributor

stlaz commented Jul 27, 2017

From what I've heard from @pvomacka, a rebase could solve the jslint error. If you guys could kindly rebase + review so that we can close this as it blocks #907.

Pavel Vomacka added 4 commits August 21, 2017 11:45
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
@pvoborni pvoborni added the ack Pull Request approved, can be merged label Aug 30, 2017
@pvomacka pvomacka added the pushed Pull Request has already been pushed label Aug 30, 2017
@pvomacka
Copy link
Author

master:

  • 6ad92d3 Revert "Web UI: Remove offline version of Web UI"
  • 41a18bb Remove all old JSON files
  • 0ee7db7 WebUI: Remove plugins symlink as it is unused
  • 4eb37d7 WebUI: remove creating js/libs symlink from makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
3 participants