2ps / djenga Goto Github PK
View Code? Open in Web Editor NEWUseful building blocks for django
License: BSD 3-Clause "New" or "Revised" License
Useful building blocks for django
License: BSD 3-Clause "New" or "Revised" License
It is often the case that when we kick off long-running tasks that are monitored from the UI that it isn't enough for us to say only that we've started and that we are done. In order to make it more clear to users what is going on behind the scenes, we'd like to allow tasks to publish a list of steps and to notify callers (or whoever's listening), of how far along they are in completing those steps.
Yakkety steps should store an error so that we can tell which step errored and what the user error message is.
Typically, cache and backend clients for redis are booooooring. They really only allow use of set
and get
. But redis is exciting! It has lots of more powerful calls that can be used such as hset
, hget
, ladd
, sadd
, etc., that allow you to manipulate more sophisticated data types. It would be ever so much nicer if we could access that functionality by itself instead of getting our hands on the native client, first.
Everyone seems to have a version of an environment enabled config file. Let's see if we can do the same thing here in djenga, cheaply.
Traceback (most recent call last):
File "./manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/djenga/management/commands/run_integration_tests.py", line 99, in handle
success = self.run_tests()
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/djenga/management/commands/run_integration_tests.py", line 92, in run_tests
status = x.run_test()
File "/mnt/c/u/to_penguins/lib/python3.6/site-packages/djenga/test/integration_test.py", line 89, in run_test
if ex.message:
AttributeError: 'IntegrationTestException' object has no attribute 'message'
would like to have assert_not_equal . . . working on PR
(1) The encryption and decryption primitives are too hard to use. Let's switch to using key derivation, plus any old password for the key and
(2) update to mode GCM instead of mode CBC so that we can do decrypt + verify
The current set of currency rounding options are insufficient. Additional options are needed for rounding up based on half amounts or rounding down, instead of always rounding up.
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.