This group is for the Google Summer of Code, 2009.
Rules Monkey: Update #4
This is the fourth update of the Rules Monkey Summer of Code project. A lot of progress has been made last week:
- Rules scheduler changes were committed to the official Rules CVS repository, yay!
- I wrote 3 tutorials to help people understand and use Rules scheduler
- I implemented an action to delete nodes, which was also committed
WU7: Version Control API and family changes
This week my mentors and me made a new plan to beat our targets, so you can see how it changes at my project wiki.
Well, this week I also divided it more less into the same sections :-D
Read moreRules Monkey: Update #3
This is the third update of the Rules Monkey Summer of Code project. The enhancements for the Rules Scheduler module are now finished and have been reviewed many times by my mentor and me. (see the issue for patches and details). They will be comitted to the official Rules CVS development branch in the next days.
Read moreHow should Biblio module handle content types?
WU1: Google Analytics API -- what information do we want?
Alright, after much mucking about with licensing issues and contacting library owners and further code merging and committing, it looks like we are back on track. Late night hacking has resulted in the following features:
- An administration page where you can log into a Google Account via AuthSub
- A testing query page where you can see what data Analytics will send back
Recommender Bundles: Update
I've finished these things so far:
<
ul>
WU6: Version Control API and family changes
I miss one WU again(:-( mainly because of final deadlines in my courses last week), but here are the news for both weeks.
It's divided in 3 sections: tests, stable branch and oop branch.
Read moreMidterms start on Monday, July 6th!
Students and Mentors, this is a reminder that SoC midterms start on Monday, July 6th. Luckily, I have a week off for that week, so I'll be checking in with each and every student to make sure everyone is doing ok. Please note that students need to be fully on the path to completing their SoC project, and they need approval from the mentor in order to receive their midterm check from Google.
Please leave a comment here if you have any questions, issues, etc. and GOOD LUCK!!!
Read moreRules Monkey: Update #2
This is the second update of the Rules Monkey Summer of Code project. I'm sorry for the relatively long pause between this post and the previous update (university kept my quite busy in June, but now I'm full-time available).
The progress that has been made so far:
- Work on the Rules Scheduler issue (http://drupal.org/node/455560)
- Successfully explored Views, DB-Schema and Rules hooks
- Scheduled tasks can now be viewed, a Rules action is available to cancel specific scheduled tasks
WU: Bot
Another week, some progress. After I learned how the socket communication behaves in my tests I was working on integrating the PHP IRCd into the test itself, so it would fire up a minimalistic, but functional PHP IRC server. Unfortunately I am at a standstill for days now, although the connection from the bot does get established, my server doesn't receive the first USER command from it, and the bot disconnects because it thinks the connection is refused. To debug this I have stripped down the IRC server into a light simple_server.php (found in the tests folder of my project).
Read moreWU: Bot tests and documentation
Completely forgot that we need to write weekly updates, thought everything moved to the wikis, sorry about that.
Read moreWU4: Completion of Version Control Integration
Whew! This has been a busy week! I did not get the rules integration completed as I had hoped, as the Git hooks ended up taking a lot longer than expected (and are still not yet done). The problem is that access checking under Git is MUCH more difficult than under SVN for a few reasons:
- SVN calls the
pre-commit
hook once for each commit (duh), but Git only calls theupdate
hook once per push (per brach or tag). - Figuring out which commits to check is non-trivial, and can involve a number of different conditions.
WU4: Version Control API and family changes
I missed one WU, so what have been done since then:
- array access really helps to migrate to OOP, so each class implements that SPL interface
- Like it was expected, dia auto-generation only did the easy part, and like it's mentionen in WU2 I made a bulk update on each class trying map all needed functions as methods. After that I needed to make lots of manual changes, to use the methods and data members, but also fix the last ones to made relations between classes.
- I'm using references to the "parents" on "children", instead of lists of "children" on "parents" or both approaches (like item class repository data member instead of list of items on repository). This is not definitive, but now it's like this.
- Replace username on versioncontrol core in favor of author and commiter.
- Use already defined database identifier names instead of "id". This is mainly for use the cool drupal_write()
- New stuff working pushed on versioncontrol core oop branch, but like you imagine I needed a backend to test, so I used my own branch of git backend
- Repository add/edit/delete/fetch
- VCS Account add/list
Version Control API gathering #5 - June 14, 2009, on IRC
Whoa, seems I skipped one set of logs again. Anyways, here's what we discussed last Sunday. This time with even nicer formatting.
Topics include:
- Conceptual issues for dhax's Git hooks (→ using the 'update' hook for permission control so that branch pushes don't depend on other branches' validity)
- The future of source items in the main API module (→ we want them as an optional bonus instead of a log-parse-time requirement)
- Proper merging of commits from Git into CVS (→ git cvsexportcommit allows an "-m" option for prefixing a string to the commit message)
RDF for Solr: Possible implementation strategies
(For information about my project, see here. Put shortly, it's about enabling Solr to index RDF data via drupal.)
Before starting the actual coding, even on prototypes, the basic options for implementing this will have to be discussed. At the moment, my mentors and I see the following three possibilities:
Read moreWU 2: Completion of Version Control Integration
A little late this week, as I was moving into my summer apartment.
Read moreDSNF: Module Review
The goal of the Drupal Social Network Framework (DSNF) is to bring together largely existing Drupal functionality into a cohesive install profile that simplifies the process of rolling out a site that uses social networking functions.
To return to the main DSNF Wiki page, click here.
Read moreWU2: Version Control API and family changes
Coding:
- This week I started moving function to methods one by one(versioncontrol_get_accounts and versioncontrol_user_accounts_load)
- Then I decide to make more drastic changes, aborting the plan of keeping oop branch stable. So I made bulk updates of classes: repository, operation, item, label, branch, tag, account(defering the way proposed on the original dia diagram like jpetso suggest me).
- Now I'm working(oop branch) on fix each class methods to get all original functionallity working(I made a specific TODO).
Bot module extensions and documentation
All approved students will be asked to keep track of the pertinent details about their project in a central wiki page on this group. The following is a template for them to use to do this.
Project information
Project page on drupal.org: http://drupal.org/project/bot (original module, customizations are going to be placed into sandbox)
Student: Balazs Dianiska (snufkin on d.o, snufkin@drupal.org on g.d.o)
Mentor: Morbus (Morbus)
Co-mentor: dmitrig01 (dmitrig01)
Current status: Working on setting up PHP IRCd for automated connection and other unit testing for the bot.
Description
Bot module is a Drupal PHP IRC bot written by Morbus Iff. It runs on many Drupal related channels, providing various tools from code documentation to collaboration between users. It utilizes the CMS as its storage and code handling back-end, but until now not many public modules exploit the potential in this website - IRC interaction, interacting with Drupal content, site users for instance. This project will extend its core in this direction, and by writing tests and documentation for it will make further contribution easier.
Read moreRules Monkey: Update #1
This is the first update of the Rules Monkey Summer of Code project. I will try to produce updates on a regular basis (one in a week or two), although I'm quite busy with exams and university stuff right now (generally in June). Updates will be published in this group at groups.drupal.org and link to the updates will be added to the wiki page.
Read more