We already replace '-' with '_' when generating perl package names; do the same for '.'. This allows us to track projects named like 'perl6.org'.
set up in the perl6 "mu" branch by moritz++.
Add a test case for that. Update the novemberlog test case too (it was still feeding in the old-style xml stuff).
It helps if the commit actually contains the diff I wanted to commit.
This commit also includes an update to the rakudolog test case. The novemberlog test needs to be updated.
This line is useless, get rid of it.
* Add some sanity checking to make sure the github feed gave us data from the right project. (They apparently had a temporary bug, and the consequences were quite spammy.) * Add a warning message and return semigracefully if a feed no longer exists. * Move the timer registration down a bit, so github parsers can be tested with modules/local/test.pl. * The feed format changed ever so slightly (they added a rel attribute to the link tag), add that to the testsuite just in case.
* When we get a commit, scrape the patch file for the full log entry and the list of changed files. * Add the longest_common_prefix() method (copied from githubparser). * Add documentation for the try_link method.
The "seen" cache is shared by branches, but due to a logic error, only the first branch was scanned before enabling output.
The "fetch_feed" callback was renamed to "process_project". Update the timer callback too.
A project can have multiple tracked branches, each of which get their own list of target channels. Reorganize things to fit this. Rename some methods: fetch_feed becomes process_project, process_feed becomes process_branch. Rework the data structures into a per-project / per-branch / per-target tree. Document that structure a little better. Fix try_link() to update the tree at the appropriate points; make process_project() process all branches, one at a time.
This makes compilation errors much more visible.
This was in there for debugging and I forgot to remove it. It causes test failures on machines that don't have the module installed.
...and corresponding test file. All cribbed from the rakudo example. I have a feeling this patch will make november commits show up on #parrot as well, which isn't necessarily what we want. But I couldn't figure out how to turn that off. Someone who knows how might want to do that.