-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use featureFlags to switch between gitea or github #161
Comments
There is nevertheless a limitation as the A solution could be to use a headless browser to simulate what the user do as documented here: https://scrapfly.io/blog/what-is-local-storage-and-how-to-scrape-it/ and to enable the checkbox of the corresponding |
I did a test using puppeteer - which allows to open pages, navigate and set objects within the localstorage Remark: Playwright could also be used instead of puppeteer: https://blog.logrocket.com/playwright-vs-puppeteer/
|
Such a limitation is not a problem for github workflow as we don't have to access the front UI and we can set the parameters of the scaffold template hidden or not to curl a http POST ;-) |
An alternative where
and to process them as such:
WDYT ? @iocanel @aureamunoz |
TODO
The featureFlag should be used, part of our templates to by example switch between gitea or github as described hereafter for demo, testing purposes
http://localhost:3000/settings/feature-flags
to enable the needed featureThe text was updated successfully, but these errors were encountered: