For me, point 1 is the most important one... and that anchors on
point 3. This also means that we get as much as coverage as
possible for 'web2py', in its current form ... because I see
myself using this for quite some time now. This is what I will use
for business.
So, the next step is to get coverage in areas which are important
first, and then to cover the code base as much as possible.
I hear Massimo suggesting that we get the 'validators' as
priority 1. Can we list the rest in order of importance? Again, am
referring to the list from here:
https://codecov.io/github/web2py/web2py?view=all&ref=3808b1f6aed7e6f30cff29214cfbced82a28cab3#sort=coverage&dir=asc
________________________________________ Kiran Subbaraman http://subbaraman.wordpress.com/about/
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I agree. Lack of tests makes it impossible to catch this kind of errors and new features need more discussion. I would hate to see you go. So, I'm going to commit myself to only writing tests for a while, until we're at least in the 70% coverage range. I will try do add at least one test (even if it's a simple one) a week. Starting this week.
While I agree that much of sqlhtml should die (I mostly don't use it). I think it's important to have something like it well tested because sqlhtml tests a bunch of web2py features working together so if sqlhtml works well you can be pretty sure that there's a lot of stuff you haven't broken.
I agree. Lack of tests makes it impossible to catch this kind of errors and new features need more discussion. I would hate to see you go. So, I'm going to commit myself to only writing tests for a while, until we're at least in the 70% coverage range. I will try do add at least one test (even if it's a simple one) a week. Starting this week.
thanks for the appreciation showed but I kinda shed some tears over the same ideas popping up now. summing up rants (some coinciding with this threads ideas).- "should we have an app that tests functionalities in addition to unittests?" --> check --> https://groups.google.com/d/msg/web2py-developers/ED33zavy_mE/R_lY2rQ7150J
- "can we have a clear path to where web2py is going?", "should we refactor web2py in small usable bits that could be used somewhere else?" --> web3py --> check --> https://github.com/mdipierro/gluino , https://github.com/mdipierro/web3py, https://github.com/web2py/web3py (dead, dead, probably dead ?!)
- "what are we going to do to address css framework lock-in?" --> formstyle callbacks, extrapolate widgets to put in the app and not in core, forms.py, validate_and_insert, vue.js, html5 widgets, ractive.js ..... all evaluated and dead. practically zero availability for a scaffolding app that is not the one shipped with web2py
- "admin is becoming too complex" --> result https://groups.google.com/d/msg/web2py-developers/MsLVi1gPaFo/1nOrNHFgCQAJ
- signals, callback, a way to hook in with custom and/or third party libraries --> psa, p2a, janrain, recaptcha, social auth, contrib.login_methods nightmares, execution flow, response.custom_commit(), check check check seen attempted dead
- various screams about not being ever able to do a requirements.txt file up to date with useful libraries, aka "reinventing the wheel" --> large and unmaintained codebase
- integrating PRs without tests, resorting in all kinds of misbehaviours and/or braking backward compatibility, and/or even worse introducing a bug that has to stay because "we missed it for a long time”
- websocket, greenifying code, blablabla, got there before most of all with tornado_messaging --> never really integrated --> django channels is truly a better fix
- documentation, docstrings, coverage, bounties for improving code quality --> tim on the book (until recently), 31 issues on the book opened, 9 PR pending. CI up and running (after endless trial and errors due to web2py's unique workflow), tests in docstrings moved to unittests, no significant coverage added except for yours truly. API docs moved from ugly epydoc to readthedocs (another source of pain) and style moved from "whatever" to "google style". +1 for the effort (again, yours truly), no docs ever added.
- pip installable package --> source of endless laughs for most pythonista's colleagues, ungratious attempt freezed web2py on pypi at 4 years ago. several proposal over the years, never took place
- smartgrid refactor --> discussed over and over, features added, complexity added, again dead in the water
- releases followed by a stream of "bugfix" in the next days
- bug triaging --> 160 opened issues migrated from google repo to github. 82 closed, 80 open. meh. 85 issues created in the last 6 months, 58 closed, 27 opened. shiny new pydal repo (big part responsible for "closed issues" on web2py that have been migrated) 44 open issues.
- endless recurrences of "we don't like web2pyslices.com" . nobody with a valid alternative, 5 "slices" on the last 6 months.
- roadmap (trello board, agile/kanban/scrum/userbase interaction on actual features .... never took up): 8 todo since creation, 8 wishes, 6 months ago last activity, 14 "done" (again, most of it is spearheading removal of ugly and unmaintained code)
- milestones : only on pydal, and even there not always respected (although a zillion kudos for giobaro that is spearheading practically by himself)
- last but not least: "manpower"... recent contributors on both repos: 10
ranted over and over in the past years. all rants are freely available (some rash words included, sorry).heard the stories already, some discussed in fine-grained details, seen them not happening mostly because lack of manpower (or real interest, or real investments).heard stories of big webapps with web2py under the hood. maybe only sahana eden helped contributing back some features. zillion years ago.proud of the work done, not so much on the "marketing" side to promote contributions. something is clearly wrong with the disparity of the community.spearheading not so fun after a lot. productivity and "pushability" impaired by all of the above.features and beautiful implementations popping up here and there, better fit for the job but discarded up until now for "proudness" of web2py.
kinda tired of porting them to web2py (or even proposing).I'll dial back from contributions and see what happens.
muhahahah, sorry, I couldn't stop myself:"helping others help with web2py?" --> check --> http://web2py.com/books/default/chapter/29/15/helping-web2py
I do not think we should slow down development because some PR do not have tests. There are some PR that have been waiting for months because you asked for tests, I agreed, and tests were never submitted. This is not acceptable. Some times it is better to accept the PR and see if something breaks.
- websocket, greenifying code, blablabla, got there before most of all with tornado_messaging --> never really integrated --> django channels is truly a better fix
how do you suggest we do this.
- documentation, docstrings, coverage, bounties for improving code quality --> tim on the book (until recently), 31 issues on the book opened, 9 PR pending. CI up and running (after endless trial and errors due to web2py's unique workflow), tests in docstrings moved to unittests, no significant coverage added except for yours truly. API docs moved from ugly epydoc to readthedocs (another source of pain) and style moved from "whatever" to "google style". +1 for the effort (again, yours truly), no docs ever added.I will crunch them shortly. My apologies to Tim. I did not notice because I did not get notifications.- pip installable package --> source of endless laughs for most pythonista's colleagues, ungratious attempt freezed web2py on pypi at 4 years ago. several proposal over the years, never took place+1. If somebody helps with setup.py I can integrate this in the build process.- smartgrid refactor --> discussed over and over, features added, complexity added, again dead in the watershould be moved to client side.
- releases followed by a stream of "bugfix" in the next daysThe only way to avoid this for me is to release more often. We do not have enough testers for a different approach.- bug triaging --> 160 opened issues migrated from google repo to github. 82 closed, 80 open. meh. 85 issues created in the last 6 months, 58 closed, 27 opened. shiny new pydal repo (big part responsible for "closed issues" on web2py that have been migrated) 44 open issues.- endless recurrences of "we don't like web2pyslices.com" . nobody with a valid alternative, 5 "slices" on the last 6 months.That is not our concern. That is a community maintained project. we are responsible for development.- roadmap (trello board, agile/kanban/scrum/userbase interaction on actual features .... never took up): 8 todo since creation, 8 wishes, 6 months ago last activity, 14 "done" (again, most of it is spearheading removal of ugly and unmaintained code)Because people do not do what they are told to do. people work on what they need. I think this is ok and unavoidable. I do it too.
On Wednesday, March 9, 2016 at 1:20:36 PM UTC-8, Niphlod wrote:muhahahah, sorry, I couldn't stop myself:"helping others help with web2py?" --> check --> http://web2py.com/books/default/chapter/29/15/helping-web2py
A fair shot, and I've read that passage at least once (long ago), but I did say "kinda slow". :-}
coveralls.io has been ditched in favour of codecov.io, because it can aggregate coverage coming from TravisCI (Unix-based enviroment) and AppVeyor (Windows-based environment).It's on the README badge for quite some time now, in addition to have been quoted in this very thread, but the coverage reports are the same. "green" lines are covered, "red" not.
Frankly I would prefer to move some of the functionality to their own applications and plugins. I don't think web2py should include a grid at all for example. There could be multiple grid plugins people would use. There can be an official one which we support, but we can stop supporting it anytime we want (since we maintain backwards compatibility).
--
--
I think web2py has just reached a point in its development where some refactoring is in order. Tests are always important, but when you need to refactor something that has a lot of moving parts like web2py they become indispensable so people can make changes with a modicum of confidence that they won't break things because of some unknown interaction. This sort of has to do with Python as well, a less dynamic language would warn you of a lot of the breakage that we need tests to detect.
- websocket, greenifying code, blablabla, got there before most of all with tornado_messaging --> never really integrated --> django channels is truly a better fixhow do you suggest we do this.don't even know. I'm bitter about this because of being the perfect poster of "ideas we had but never grasped minds".
How about scheduler?
How about scheduler?
Frankly I would prefer to move some of the functionality to their own applications and plugins. I don't think web2py should include a grid at all for example. There could be multiple grid plugins people would use. There can be an official one which we support, but we can stop supporting it anytime we want (since we maintain backwards compatibility).
Can we all have an IRC chat some time this week? For me 8am morning Pacific time is a good time almost any day
That hour is fine by me. I think I don't have any meetings this week so you're free to pick.
For me this is the order of importance:1) dal2) validators3) scheduler4) rocket5) templates6) session logic7) helpers8) auth (should be broken into multiple files)9) sqlform and grid should be replaced by new logic (for form it partially exists) we would not break existing code but we would not fix bugs. we would ask users to move to form.I also think dal+validators+scheduler should be mergedRocket and template should become their own separate packages.Rocket kind of is but is not maintained and we changed it.The JS that ships with welcome should also become its own package that does not require web2py.web3py will replace some internal logic and default to new auth (no wiki) and new form logic. It will work with python 2 and 3. web3py will be able to run 99% of web2py code provided one does: from past import *I think this is an achievable goal by the summer.MassimoOn Mar 9, 2016, at 9:09 AM, Kiran Subbaraman <subbaram...@gmail.com> wrote:There are a few things that keep coming up... and also mentioned in this thread. Some of those are:
- web2py - maintain backward-compatibility, and create quality releases (tests, with a process for enhancements / code changes)
- refactoring/evolution of web2py - move parts to pydal, create web3py
- decision making / moderation - Massimo / others? (accept PRs, answer user questions, set directions, etc)
For me, point 1 is the most important one... and that anchors on point 3. This also means that we get as much as coverage as possible for 'web2py', in its current form ... because I see myself using this for quite some time now. This is what I will use for business.
So, the next step is to get coverage in areas which are important first, and then to cover the code base as much as possible.
I hear Massimo suggesting that we get the 'validators' as priority 1. Can we list the rest in order of importance? Again, am referring to the list from here: https://codecov.io/github/web2py/web2py?view=all&ref=3808b1f6aed7e6f30cff29214cfbced82a28cab3#sort=coverage&dir=asc
________________________________________ Kiran Subbaraman http://subbaraman.wordpress.com/about/
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How about Thursday morning at 8am PST? Simone?
Where is the chat going to be, #web2py in freenode? Google hangouts?