Comments (8)
Nice! Can we make it like GitHub?
from klaus.
Yes, if anyone wants to work it that would be great!
from klaus.
Hi, I would like to work on this feature. Based on the request, I am trying to decide between two approaches:
(a) A new query string parameter (selections). This allows us to keep the previous single selection instead of overloading the single selection
(b) Overloading the single selection, with something like http://klausdemo.lophus.org/~jonashaag/klaus/blob/master/setup.py#L-18&L-27.
Are this approaches sufficient or is there an approach that would be preferable, in line with the structure of the project.
from klaus.
Oh. Okay. I will look into making it like Github. Thanks.
from klaus.
I am sorry if this question sounds foolish. I wanted to ask how the testing in this project is normally done. I am trying to manually test, that is, view some kind of log of the variables but I am so far unable to do so. First,
(a) I tried using pdb but pdb never reaches the breakpoint I set in views.py.
(b) I tried to using python logging, but the logs are not showing up, Coming from Tornado, i would normally disable the tornado.access module to get the logs that I want, but I do not know module to disable for Flask.
My only recourse now is to write a "unit test" to test my changes.
Is my situation unique and if so, how do I go about resolving it? Thanks.
from klaus.
How do you start Klaus exactly? If you use the CLI the logs should show up in the terminal. Flask also has a very nice debugger. You can also start Klaus using another WSGI server if you want.
from klaus.
I normally start it with the cli, like klaus [dir1] ... What i wanted to was to print not the request logs, the actual application logs. That is, if I put a print statement in the views.py, I want to see it in the consoie logs as well.
from klaus.
That should be exactly what’s happening by default. Are you sure your changes are even effective? Maybe the CLI loads the Klaus modules from some other path outside of the Git checkout? (eg installed with pip)
from klaus.
Related Issues (20)
- Switch from Flask to starlette? HOT 4
- Dulwich performance workarounds HOT 1
- Nice error message if attempted clone fails due to disabled SmartHTTP
- Add signature snapshot HOT 3
- set the host for the clone url HOT 2
- Klaus Demo is unavailable HOT 1
- openmetrics support HOT 1
- OOM error on small repo when cloning/pull HOT 31
- Make bin/klaus an entrypoint HOT 1
- Add EXPOSE to the Dockerfile HOT 1
- Handle SymRefLoop
- handle dulwich.objects.EmptyFileException
- How to do lighttpd + klaus? HOT 4
- Add 2.0.2 to PyPI HOT 1
- ownership issue HOT 12
- SetuptoolsDeprecationWarning: Installing 'klaus.templates' as data is deprecated, please list it in `packages`. HOT 2
- CSS auto dark mode? HOT 7
- Browsing to a repo shows the most recently updated branch, rather than the default HOT 17
- large repository makes index page very slow HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klaus.