# |
Oct 10th 2010, 22:16 |
savant |
right |
# |
Oct 10th 2010, 22:16 |
PhpNut |
I like the idea, but it could be hard to implement it properly if a user is not using the correct naming conventions etc |
# |
Oct 10th 2010, 22:16 |
savant |
Quite a few articles could easily be plugins, or are plugins and havent been updated |
# |
Oct 10th 2010, 22:15 |
savant |
will the files be vetted (as large != component/behavior etc) |
# |
Oct 10th 2010, 22:15 |
savant |
and then? |
# |
Oct 10th 2010, 22:15 |
PhpNut |
savant: there are plans to move large code blocks to archive files right now |
# |
Oct 10th 2010, 17:06 |
savant |
A good example of where this would be useful is http://bakery.cakephp.org/articles/interlock/2010/08/22/configure-plugin |
# |
Oct 10th 2010, 16:54 |
savant |
comments? |
# |
Oct 10th 2010, 16:54 |
savant |
but that is up for discussion |
# |
Oct 10th 2010, 16:53 |
savant |
And what will happen if a user does not wish to attach a project to their github profile |
# |
Oct 10th 2010, 16:53 |
savant |
I have not yet considered how re-translation is handled |
# |
Oct 10th 2010, 16:53 |
savant |
Once it is moved over, the user can be given an opportunity to update their article, and a link to the github clone url can be added to the article automatically |
# |
Oct 10th 2010, 16:52 |
savant |
upon verification of proper plugin creation, a user can be sent an email notifying them that they can clone over the plugin to their own github profile, and it would be an automated process on the bakery servers to move the code over |
# |
Oct 10th 2010, 16:51 |
savant |
and packaged with the plugin (although this process would be more brittle) |
# |
Oct 10th 2010, 16:51 |
savant |
the article itself might be used as a readme, and if the plugin was built correctly, those codeblocks which are classes would be removed and the article slightly updated as a readme |
# |
Oct 10th 2010, 16:50 |
savant |
a notification can be raised to someone curating this - I would volunteer if no one else wishes to - who can verify that a plugin was properly generated |
# |
Oct 10th 2010, 16:49 |
savant |
from there, inflecting classnames would be used to properly name files and move them into their respective paths, with any extraneous, unparsed classes going into the "libs" dir to be sorted manually |
# |
Oct 10th 2010, 16:48 |
savant |
then it might be possible to use the reflection class or something to figure out what are the classes and what each codeblock is |
# |
Oct 10th 2010, 16:47 |
savant |
I realize some of the articles would not be automatically parsable, but it would be useful to parse out codeblocks into individual files |
# |
Oct 10th 2010, 16:43 |
savant |
I am happy to discuss any possible implementation of this, and more than happy to write the code that interacts with the Github api to implement this |
# |
Oct 10th 2010, 16:42 |
savant |
and then the code would be moved to their account |
# |
Oct 10th 2010, 16:42 |
savant |
An author could take control of the repository using github's api (which provides authentication and cloning services) |
# |
Oct 10th 2010, 16:42 |
savant |
Each repository would contain the code on a specific bakery article |
# |
Oct 10th 2010, 16:41 |
savant |
but it would be nice to be able to have a "bakery" account on github |
# |
Oct 10th 2010, 16:41 |
savant |
I mentioned this at CakeFest |
# |
Oct 10th 2010, 16:40 |
savant |
Is there a process to clean up bakery articles? |
# |
Oct 10th 2010, 15:04 |
Phally |
e-mail address changing (for gravatar) isn´t doing anything on the bakery |
# |
Oct 2nd 2010, 07:18 |
teknoid |
hi |
# |
Oct 2nd 2010, 07:13 |
styler |
hi all |
# |
Sep 29th 2010, 06:19 |
bodik |
thanks |
# |
Sep 29th 2010, 06:19 |
bodik |
ok |
# |
Sep 29th 2010, 06:19 |
PhpNut |
bodik: join #cakephp that is the support channel |
# |
Sep 29th 2010, 05:33 |
bodik |
hi, anyone willing to help newbie ? ;) .. i'm trying to make simple user management application. I have 2 modesl (user,group) with HABTM relationship. i made simple activate function in user controller (http://pastebin.com/RU2y0YJj) but when i use it, any group relationship for that user gets deleted ;( |
# |
Sep 19th 2010, 06:52 |
kevin_ |
good eve cakeists! |
# |
Sep 14th 2010, 03:24 |
danbuntu |
cut and past here we come |
# |
Sep 14th 2010, 03:24 |
danbuntu |
opps |
# |
Sep 14th 2010, 03:24 |
ADmad |
danbuntu: wrong channel.. join #cakephp |
# |
Sep 14th 2010, 03:22 |
danbuntu |
i'm guesing it should be done int he model undert the 'var $name = ' part but I don't seem to be able to get it to work |
# |
Sep 14th 2010, 03:21 |
danbuntu |
how do you reorder this by a different column? |
# |
Sep 14th 2010, 03:21 |
danbuntu |
in the baked /view you get a grid of information ordered by the id field |
# |
Sep 14th 2010, 03:20 |
danbuntu |
can some one help me please? |