Questions tagged [gargoyle]

Built on top of Django and allows to switch functionality in an application on and off based on conditions.

Homepage: https://github.com/disqus/gargoyle/

7 questions
4
votes
2 answers

Beginner's guide to Feature flags - Django

I am trying to understand Django's Gargoyle library - a feature flag library and cannot wrap my head around as to how it should be implemented. Does anyone know of any tutorial or can guide me how to go about it? Also, if anyone has experience…
name_masked
  • 9,544
  • 41
  • 118
  • 172
2
votes
2 answers

Using Django Gargoyle how do I create my own condition set?

I'm using Django's sites framework and would like to use Gargoyle to enable/disable functionality on a site-by-site basis. This would involve creating my own condition set for Site. I've read the Condition Set API reference and had a look at the…
aaronbassett
  • 328
  • 2
  • 7
1
vote
1 answer

Trying to turn off warnings in console but failing

My IRC bot sends the statistics of a video when a YouTube link is posted to the channel. But I get warnings in a huge number and they annoy me and just clutter my console: Sep 01, 2014 6:09:29 PM com.gargoylesoftware.htmlunit.DefaultCssErrorHandler…
bl4ckscor3
  • 11
  • 1
  • 4
1
vote
0 answers

How to build an openwrt image with gargoyle instead of Luci?

First of all, I'm new to this OpenWrt, and all custom build firmwares. How to compile the OpenWrt source with the Gargoyle or X-wrt UI instead of Luci? I couldn't find anything in the documentation to show how to do that, and I know it's doable…
Yahya KACEM
  • 2,481
  • 7
  • 34
  • 61
1
vote
2 answers

upload file Classloader/selenium to HTML-element type="file"

I'm using Selenium, java and classloader to upload a pdf-file to a HTML-page with the element type="file" My code is: String fileURI = ClassLoader.getSystemResource("file.pdf").getFile(); setText(DOCUMENTATION_FILE_FIELD, fileURI); …
TorK
  • 567
  • 2
  • 10
  • 27
0
votes
1 answer

Use Disqus' gargoyle for whole apps

Is there a way to use disqus opensource gargoyle project to switch off whole apps. For example, I have a management app where I allow users to change their accounts and delete them etc. If i want to tweak around with those features I want to switch…
cwoebker
  • 3,158
  • 5
  • 27
  • 43
0
votes
1 answer

How does a django gargoyle percent condition work?

UPDATE: The test was bunk—see answer. Percentage condition works as expected. I expected a test switch with a 50–100 percent condition to behave in the following way: user 1 -> a user 2 -> b user 3 -> a user 4 -> b I thought this type of condition…
Jørgen
  • 55
  • 8