-
Notifications
You must be signed in to change notification settings - Fork 14
roundup-demo fixes #2
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
Conversation
Some templates like `jinja2` and `responsive` need certain settings in their `config.ini` otherwise the pages won't display correctly. By pulling in these custom settings when running `roundup-demo` we ensure that the pages will display correctly out of the box with no extra changes required.
The `roundup-demo` command assumes that the `user` has a `realname` attribute when it creates the demo user. Without adding the `realname` attribute in the `minimal` template's schema an error will occur when a user tries to create a new demo based on it.
Codecov Report
@@ Coverage Diff @@
## master #2 +/- ##
==========================================
- Coverage 70.14% 70.13% -0.01%
==========================================
Files 96 96
Lines 20744 20745 +1
==========================================
Hits 14550 14550
- Misses 6194 6195 +1
Continue to review full report at Codecov.
|
Hi John:
In message <roundup-tracker/roundup/pull/[email protected]>,
John Kristensen writes:
A couple of small fixes to improve the user's experience when
using `roundup-demo`.
My `git-remote-hg` setup is currently broken some I'm unable to push
directly to the SourceForge Mercurial repo. So I'm creating a pull
request so either I remember to merge this fixes when I get
`git-remote-hg` working, or someone else merges them and pushes them
to SourceForge.
The emailed version of the codecov report for this pull shows a drop
of 0.5% in overall coverage. But the one on this pull request shows
0.01%. The email report shows less coverage for files your patch
didn't change. I assume this means your repo is behind the head
revision of mercurial and thus missing tests??
It's wierd that the online report codecov appended to the pull reports
differently from the emailed report though.
Also do you have any ideas on running demo.py as part of the tests?
At the very least it would probably be good to fire up demo.py with
the anydbm backend and each template. That should have caught each of
the problems your fixing. Thoughts?
…--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
|
Also John, I don't think you need: Add in demo.py is this bit of code:
whish should not try initializing the realname property if using the minimal template. Maybe the bug that needs |
It seems that When invoked from When invoked from I should also note that |
Ah thanks for tracking that down. I didn't even realize there was a roundup-demo to tell the truth. I wonder what the use What do you think about fixing I am ok with requiring the current working directory be the same directory where demo.py is located. IIRC all of our Thoughts? |
Using |
Maybe we should move the discussion about the demo stuff to the mailing list? I didn't mean to subvert other communication channels by opening a "placeholder" pull request :D |
In message ***@***.***>,
John Kristensen writes:
Maybe we should move the discussion about the demo stuff to the
mailing list? I didn't mean to subvert other communication channels
by opening a "placeholder" pull request :D
We can do that. Do you want to post the initial summary email or
should I?
Have a great morning.
…--
-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
|
Discussion moved to the mailing list: https://sourceforge.net/p/roundup/mailman/message/37240835/ |
Just adding a note here for when work on these patches get picked-up and worked on again. It might be work looking at using the setuptools |
Committed in http://sourceforge.net/p/roundup/code/ci/5a3a386aa8e7 Regarding ResourceTools, I guess I am too dumb to see how that helps deal with the man page, template dir, locale file resources. |
A couple of small fixes to improve the user's experience when using
roundup-demo
.My
git-remote-hg
setup is currently broken some I'm unable to push directly to the SourceForge Mercurial repo. So I'm creating a pull request so either I remember to merge this fixes when I getgit-remote-hg
working, or someone else merges them and pushes them to SourceForge.