
Atom feed request returns a 404
Reported by Brad Gessler | March 14th, 2009 @ 08:18 PM
When requesting an Atom feed in integrity for a project, I get a 404 HTTP error.
Comments and changes to this ticket
-
Simon Rozet March 14th, 2009 @ 10:24 PM
What version of Integrity are you using? This should be fixed in 0.1.9.0. By this commit in particular: http://github.com/foca/integrity/commit/ebeb38f12ac747d630addd6954a9c4dfd9d97035
-
Brad Gessler March 16th, 2009 @ 12:52 AM
Hey Simon,
I'm using 0.1.9.0
root@host:~# gem list | grep integrity cwsaylor-integrity-twitter (1.0.0) foca-integrity (0.1.9.0) foca-integrity-email (1.0.1) integrity (0.1.9.0) ph-integrity-jabber (1.0.1)
-
Brad Gessler March 16th, 2009 @ 01:04 AM
- Assigned user changed from ronin-278 (at lighthouseapp) to Simon Rozet
I just noticed I have 2 integrity gems install. I originally installed the RubyGems version but I found when I installed the foca-integrity-email notifier that it also installed the foca-integrity gem.
You might consider either pulling the RubyForge distribution to reduce this possibility or distributing a dependency tree of integrity gems that point to the RubyForge gems.
I'm going to start over fresh with just the github gems to see if that fixes this problem.
-
ronin-278 (at lighthouseapp) March 16th, 2009 @ 01:26 AM
The problem, when having both the github gem and the rubyforge one, is that foca-integrity comes before integrity alphabetically, and that's how rubygems decides which gem to use.
You need to add, before the 'require "integrity"' in config.ru, the following:
gem "integrity", ">= 0.1.9"
Which will ensure that the github gem is ignored :)
-
Brad Gessler March 16th, 2009 @ 02:27 AM
There's just a "user problem" now if somebody tries to install any of the integrity notifiers and is using the RubyForge gem distro:
root@host:/etc/integrity# gem install integrity Run `integrity help` for information on how to setup Integrity. Successfully installed foca-sinatra-ditties-0.0.3 Successfully installed integrity-0.1.9.0 2 gems installed root@host:/etc/integrity# gem install foca-integrity-email Run `integrity help` for information on how to setup Integrity. Successfully installed foca-integrity-0.1.9.0 Successfully installed foca-sinatra-diddies-0.0.2 Successfully installed foca-integrity-email-1.0.1 3 gems installed root@host:/etc/integrity#
You'll see when I install the email notifier it installed the foca-integrity gem as a dependency.
-
Brad Gessler March 16th, 2009 @ 02:31 AM
Also it seems like the sinatra diddies are different between the two gem distributions:
root@host:/etc/integrity# gem list | grep sinatra foca-sinatra-diddies (0.0.2) foca-sinatra-ditties (0.0.3)
These were the gems left over after I started over with a fresh install and performed the steps above in my previous ticket update.
I'm going to install everything from github and assume that is the real distro.
To make this easier you might consider switching integrity distribution to either github or rubyforge; not both.
-
Brad Gessler March 16th, 2009 @ 02:37 AM
It looks like the email notifier is grabbing an older version of a diddy gem:
root@host:/etc/integrity# gem install foca-integrity Run `integrity help` for information on how to setup Integrity. Successfully installed foca-sinatra-ditties-0.0.3 Successfully installed foca-integrity-0.1.9.0 2 gems installed root@host:/etc/integrity# gem install foca-integrity-email Successfully installed foca-sinatra-diddies-0.0.2 Successfully installed foca-integrity-email-1.0.1 2 gems installed root@host:/etc/integrity# gem list | egrep "sinatra|foca|integrity" foca-integrity (0.1.9.0) foca-integrity-email (1.0.1) foca-sinatra-diddies (0.0.2) foca-sinatra-ditties (0.0.3) sinatra (0.9.1.1) root@host:/etc/integrity#
-
Brad Gessler March 16th, 2009 @ 02:44 AM
Back to the original ticket... I'm still having the same problem with that atom feed w/ the following gems installed (and all of the notifiers disabled and removed):
root@host:/etc/integrity# gem list | egrep "sinatra|foca|integrity" foca-integrity (0.1.9.0) foca-sinatra-ditties (0.0.3) sinatra (0.9.1.1)
As for the gem dependency stuff, we might want to open another ticket for it if you guys think its a problem. -
Simon Rozet March 16th, 2009 @ 08:57 PM
- State changed from new to open
I just pushed a new release (0.1.9.1) to Rubyforge. Please uninstall foca-integrity and install integrity and check that the Atom feed is working.
In case you install foca-integrity-email, please uninstall foca-integrity afterwards. This is absolutely stupid and I am sorry about it but currently all the notifier (including the one we "support") depends on foca-integrity while they should depend on integrity (from Rubyforge)
We just started releasing versions to Rubyforge, so we're in the middle of a transitioning period. Please bear with us for the moment, thanks!
-
Simon Rozet April 5th, 2009 @ 11:49 PM
- State changed from open to resolved
-
Simon Rozet April 5th, 2009 @ 11:49 PM
- Milestone cleared.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Automated continuous integration server that doesn't suck.