If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by rcopeland:
The list of installable plugins is available via:
plugins = [
(ep.name, ep.load())
for ep in pkg_resources.iter_entry_points('pyforge') ]
installable_plugin_names = [
name for (name, app) in plugins
if app.installable ]
Please use this to populate the list, rather than hard-coded values. Also, please try to use EasyWidgets rather than doing all the form filling/validation by hand. (I am the EasyWidgets owner, so we can clean it up if you need.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
I have to dump the mi/79 work and re-start; too many conflicts trying to rebase on master
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
Got it working. Three plugins for now: Tracker, Wiki and Discussion.
Please review my code at mi/79.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by jbeard:
i reviewed and it doesn't seem to be working right; the test for registering a new project doesn't pass. here's the error log:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
Fixed the test case, pls review again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
I am seeing this strange traceback when attempting to call .install_app on a freshly created Project instance.
File '/home/max/projects/forge/pyforge/pyforge/controllers/project.py', line 115 in register
p.install_app(name, name)
File '/home/max/projects/forge/pyforge/pyforge/model/project.py', line 365 in install_app
assert self.app_instance(mount_point) is None
File '/home/max/projects/forge/pyforge/pyforge/model/project.py', line 401 in app_instance
app_config = self.app_config(mount_point_or_config)
File '/home/max/projects/forge/pyforge/pyforge/model/project.py', line 413 in app_config
'options.mount_point':mount_point}).first()
File '/home/max/projects/Ming/ming/orm/mapped_class.py', line 143 in find
return self.session.find(self.cls, *args, **kwargs)
File '/home/max/projects/Ming/ming/orm/ormsession.py', line 105 in find
ming_cursor = self.impl.find(m.doc_cls, *args, **kwargs)
File '/home/max/projects/Ming/ming/session.py', line 40 in find
cursor = self._impl(cls).find(*args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'find'
Anyone got a clue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by jbeard:
I think both Gary and I have started seeing this as well on master.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
It turns out c.project need to be set for .install_app to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
Well, I found function register_project() in pyforge/model/project.py. Since it not accessible via UI do I really need to update it? Should I update bootstrap() script instead to pre-populate test projects with default plugins?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by mramm:
I think that what we need is a regester_project page, which has a simple form that asks for a few things:
project full name
project url
project code license (default to bsd)
checkboxes for apps to install with mount points
wiki (wiki)
tracker (tickets)
forums (forums)
scm (dropdown for git, hg, svn)
scm support is obviously not ready yet, so we should add that later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
Mark,
Where do I get a list of available code licenses?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by noostendorp:
just as an addendum. I would like a checkbox which allows them to register as a "personal project" -- this will change the prefix to the URL so that it is registered under the users space rather than the public project space.
Mark Ramm-Christensen wrote:
I think that what we need is a regester_project page, which has a simple form that asks for a few things:
project full name
project url
project code license (default to bsd)
checkboxes for apps to install with mount points
wiki (wiki)
tracker (tickets)
forums (forums)
scm (dropdown for git, hg, svn)
scm support is obviously not ready yet, so we should add that later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by mramm:
status: pending --> open
custom_field__size: -->
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-07-07
Originally by: sf-overlords
Post by max:
from Mark:
I think we should have an url register project which hits the project registration method
and it should have a space for the full name, the url (aka mount point), and check boxes for each of the apps (all checked by default)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Originally by: sf-overlords
Post by max:
rebased on current master. pls review mi/79. I need a decision so I could start fixing [#52]
Related
Tickets:
#52Originally by: sf-overlords
Post by rcopeland:
The list of installable plugins is available via:
Please use this to populate the list, rather than hard-coded values. Also, please try to use EasyWidgets rather than doing all the form filling/validation by hand. (I am the EasyWidgets owner, so we can clean it up if you need.)
Originally by: sf-overlords
Post by max:
I have to dump the mi/79 work and re-start; too many conflicts trying to rebase on master
Originally by: sf-overlords
Post by max:
Got it working. Three plugins for now: Tracker, Wiki and Discussion.
Please review my code at mi/79.
Originally by: sf-overlords
Post by jbeard:
i reviewed and it doesn't seem to be working right; the test for registering a new project doesn't pass. here's the error log:
http://pastebin.com/nQaEN7St
Originally by: sf-overlords
Post by max:
Fixed the test case, pls review again.
Originally by: sf-overlords
Post by max:
I am seeing this strange traceback when attempting to call .install_app on a freshly created Project instance.
Anyone got a clue?
Originally by: sf-overlords
Post by jbeard:
I think both Gary and I have started seeing this as well on master.
Originally by: sf-overlords
Post by max:
It turns out
c.project
need to be set for .install_app to work.Originally by: sf-overlords
Post by max:
Well, I found function register_project() in pyforge/model/project.py. Since it not accessible via UI do I really need to update it? Should I update bootstrap() script instead to pre-populate test projects with default plugins?
Originally by: sf-overlords
Post by mramm:
I think that what we need is a regester_project page, which has a simple form that asks for a few things:
scm support is obviously not ready yet, so we should add that later.
Originally by: sf-overlords
Post by max:
Mark,
Where do I get a list of available code licenses?
Originally by: sf-overlords
Post by noostendorp:
just as an addendum. I would like a checkbox which allows them to register as a "personal project" -- this will change the prefix to the URL so that it is registered under the users space rather than the public project space.
Mark Ramm-Christensen wrote:
Originally by: sf-overlords
Post by mramm:
status: pending --> open
custom_field__size: -->
Originally by: sf-overlords
Post by max:
from Mark:
I think we should have an url register project which hits the project registration method
and it should have a space for the full name, the url (aka mount point), and check boxes for each of the apps (all checked by default)
Obsoleted by [#804]
description has changed
- status: open --> closed
Related
Tickets:
#804