From cjlists at visualfood.ch Mon Feb 2 18:58:41 2009 From: cjlists at visualfood.ch (Cornelius Jaeger) Date: Tue, 3 Feb 2009 00:58:41 +0100 Subject: images in db Message-ID: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> hi all just working on my first camping hack and new to ruby as well. i've figured some things out and uploading images into the database, but i'm not sure how to get the data displayed in the browser. i'd like to stream it straight from the db, not copy it to the fs first. obviously img(:src => file_data) doesn't work. any pointers or reading assignments would be v. welcome. many thanks cornelius From blueberry at creativepony.com Mon Feb 2 19:58:38 2009 From: blueberry at creativepony.com (Jenna Fox) Date: Tue, 3 Feb 2009 11:58:38 +1100 Subject: images in db In-Reply-To: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> Message-ID: <3747A206-27ED-4582-A0F6-D7AE4C60A8E9@creativepony.com> Make a controller with a get method to retrieve the image, then, have some code like this in it, supposing image_data is a string or something: headers['Content-Type'] = 'image/png' headers['Content-Length'] = image_data.length.to_s return image_data On 03/02/2009, at 10:58 AM, Cornelius Jaeger wrote: > hi all > > just working on my first camping hack and new to ruby as well. > i've figured some things out and uploading images into the database, > but i'm not sure how to get the data displayed in the browser. > i'd like to stream it straight from the db, not copy it to the fs > first. > obviously img(:src => file_data) doesn't work. > any pointers or reading assignments would be v. welcome. > many thanks > > cornelius > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list From roland at rolandcrosby.com Mon Feb 2 20:15:45 2009 From: roland at rolandcrosby.com (Roland Crosby) Date: Mon, 2 Feb 2009 20:15:45 -0500 Subject: images in db In-Reply-To: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> Message-ID: <4a78c6fd0902021715w7bee047dp66939b9a266b11b1@mail.gmail.com> Well, you could sorta do img(:src => file_data), using the data: URI scheme. def data_uri(file_data, mime_type="image/png") "data:#{mime_type};base64,#{[file_data].pack('m*')}".strip end Then you could just do img(:src => data_uri(file_data)), and it should work. On Mon, Feb 2, 2009 at 6:58 PM, Cornelius Jaeger wrote: > hi all > > just working on my first camping hack and new to ruby as well. > i've figured some things out and uploading images into the database, but i'm > not sure how to get the data displayed in the browser. > i'd like to stream it straight from the db, not copy it to the fs first. > obviously img(:src => file_data) doesn't work. > any pointers or reading assignments would be v. welcome. > many thanks > > cornelius > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From blueberry at creativepony.com Mon Feb 2 20:23:31 2009 From: blueberry at creativepony.com (Jenna Fox) Date: Tue, 3 Feb 2009 12:23:31 +1100 Subject: images in db In-Reply-To: <4a78c6fd0902021715w7bee047dp66939b9a266b11b1@mail.gmail.com> References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> <4a78c6fd0902021715w7bee047dp66939b9a266b11b1@mail.gmail.com> Message-ID: <6ED80852-FC94-4D74-8CA8-98B1393C5AA3@creativepony.com> Mmm, indeededly, though data: uri's don't work at all in internet explorer, quite the bummer if you care :) On 03/02/2009, at 12:15 PM, Roland Crosby wrote: > Well, you could sorta do img(:src => file_data), using the data: URI > scheme. > > def data_uri(file_data, mime_type="image/png") > "data:#{mime_type};base64,#{[file_data].pack('m*')}".strip > end > > Then you could just do img(:src => data_uri(file_data)), and it > should work. > > On Mon, Feb 2, 2009 at 6:58 PM, Cornelius Jaeger > wrote: >> hi all >> >> just working on my first camping hack and new to ruby as well. >> i've figured some things out and uploading images into the >> database, but i'm >> not sure how to get the data displayed in the browser. >> i'd like to stream it straight from the db, not copy it to the fs >> first. >> obviously img(:src => file_data) doesn't work. >> any pointers or reading assignments would be v. welcome. >> many thanks >> >> cornelius >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list From cjlists at visualfood.ch Tue Feb 3 08:35:50 2009 From: cjlists at visualfood.ch (Cornelius Jaeger) Date: Tue, 3 Feb 2009 14:35:50 +0100 Subject: images in db In-Reply-To: <3747A206-27ED-4582-A0F6-D7AE4C60A8E9@creativepony.com> References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> <3747A206-27ED-4582-A0F6-D7AE4C60A8E9@creativepony.com> Message-ID: <7E146E11-22E3-4551-AB7C-49217BF0BC02@visualfood.ch> Hi Jenna, Roland Thanks for your responses. How can I get the image inline in the html, rather than downloading it to the user? I'm not at all sure how to use markaby to stream the image data into something the img tag will understand. Many Thanks for helping Cornelius On 03.02.2009, at 01:58, Jenna Fox wrote: > Make a controller with a get method to retrieve the image, then, > have some code like this in it, supposing image_data is a string or > something: > > headers['Content-Type'] = 'image/png' > headers['Content-Length'] = image_data.length.to_s > return image_data > > > On 03/02/2009, at 10:58 AM, Cornelius Jaeger wrote: > >> hi all >> >> just working on my first camping hack and new to ruby as well. >> i've figured some things out and uploading images into the >> database, but i'm not sure how to get the data displayed in the >> browser. >> i'd like to stream it straight from the db, not copy it to the fs >> first. >> obviously img(:src => file_data) doesn't work. >> any pointers or reading assignments would be v. welcome. >> many thanks >> >> cornelius >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list From john.beppu at gmail.com Tue Feb 3 15:32:24 2009 From: john.beppu at gmail.com (John Beppu) Date: Tue, 3 Feb 2009 12:32:24 -0800 Subject: images in db In-Reply-To: <7E146E11-22E3-4551-AB7C-49217BF0BC02@visualfood.ch> References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> <3747A206-27ED-4582-A0F6-D7AE4C60A8E9@creativepony.com> <7E146E11-22E3-4551-AB7C-49217BF0BC02@visualfood.ch> Message-ID: <21a10fe00902031232t28a910cai1cd8892f469f43b@mail.gmail.com> Roland just showed you how to inline it. Here's a little article on the technique he's using: http://jimbojw.com/wiki/index.php?title=Data_URIs_and_Inline_Images However, as Jenna said, this technique doesn't work in IE. Her first suggestion is probably the path of least resistance. --beppu On Tue, Feb 3, 2009 at 5:35 AM, Cornelius Jaeger wrote: > Hi Jenna, Roland > > Thanks for your responses. > How can I get the image inline in the html, rather than downloading it to > the user? > I'm not at all sure how to use markaby to stream the image data into > something the img tag will understand. > Many Thanks for helping > > Cornelius > > > > > On 03.02.2009, at 01:58, Jenna Fox wrote: > > Make a controller with a get method to retrieve the image, then, have some >> code like this in it, supposing image_data is a string or something: >> >> headers['Content-Type'] = 'image/png' >> headers['Content-Length'] = image_data.length.to_s >> return image_data >> >> >> On 03/02/2009, at 10:58 AM, Cornelius Jaeger wrote: >> >> hi all >>> >>> just working on my first camping hack and new to ruby as well. >>> i've figured some things out and uploading images into the database, but >>> i'm not sure how to get the data displayed in the browser. >>> i'd like to stream it straight from the db, not copy it to the fs first. >>> obviously img(:src => file_data) doesn't work. >>> any pointers or reading assignments would be v. welcome. >>> many thanks >>> >>> cornelius >>> _______________________________________________ >>> Camping-list mailing list >>> Camping-list at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/camping-list >>> >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cjlists at visualfood.ch Thu Feb 5 18:14:32 2009 From: cjlists at visualfood.ch (Cornelius Jaeger) Date: Fri, 6 Feb 2009 00:14:32 +0100 Subject: images in db In-Reply-To: <21a10fe00902031232t28a910cai1cd8892f469f43b@mail.gmail.com> References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> <3747A206-27ED-4582-A0F6-D7AE4C60A8E9@creativepony.com> <7E146E11-22E3-4551-AB7C-49217BF0BC02@visualfood.ch> <21a10fe00902031232t28a910cai1cd8892f469f43b@mail.gmail.com> Message-ID: cheers john hm, seems strange eh, you'd think this is something that is just possible. many thanks for the link, i'll work it tonight. alternatively i'll have to copy the image to the file system after all and serve it from the webserver. cheers cornelius On 03.02.2009, at 21:32, John Beppu wrote: > Roland just showed you how to inline it. > > Here's a little article on the technique he's using: > > http://jimbojw.com/wiki/index.php?title=Data_URIs_and_Inline_Images > > However, as Jenna said, this technique doesn't work in IE. Her > first suggestion is probably the path of least resistance. > > --beppu > > On Tue, Feb 3, 2009 at 5:35 AM, Cornelius Jaeger > wrote: > Hi Jenna, Roland > > Thanks for your responses. > How can I get the image inline in the html, rather than downloading > it to the user? > I'm not at all sure how to use markaby to stream the image data into > something the img tag will understand. > Many Thanks for helping > > Cornelius > > > > > On 03.02.2009, at 01:58, Jenna Fox wrote: > > Make a controller with a get method to retrieve the image, then, > have some code like this in it, supposing image_data is a string or > something: > > headers['Content-Type'] = 'image/png' > headers['Content-Length'] = image_data.length.to_s > return image_data > > > On 03/02/2009, at 10:58 AM, Cornelius Jaeger wrote: > > hi all > > just working on my first camping hack and new to ruby as well. > i've figured some things out and uploading images into the database, > but i'm not sure how to get the data displayed in the browser. > i'd like to stream it straight from the db, not copy it to the fs > first. > obviously img(:src => file_data) doesn't work. > any pointers or reading assignments would be v. welcome. > many thanks > > cornelius > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From blueberry at creativepony.com Fri Feb 6 01:39:55 2009 From: blueberry at creativepony.com (Jenna Fox) Date: Fri, 6 Feb 2009 17:39:55 +1100 Subject: images in db In-Reply-To: References: <42CE1F7C-D0C5-402D-9911-063120458F07@visualfood.ch> <3747A206-27ED-4582-A0F6-D7AE4C60A8E9@creativepony.com> <7E146E11-22E3-4551-AB7C-49217BF0BC02@visualfood.ch> <21a10fe00902031232t28a910cai1cd8892f469f43b@mail.gmail.com> Message-ID: Another option, which Rails has a lot of good documentation on, is to create a row in your database which represents the image file, and contains all the related meta data as well as a unique id number, and then just keep the actual images in the filesystem named #.jpeg or some such thing, where the # is the row ID number. This is very common, and good practice for speed as well, because it allows you to eliminate variable width columns in the table in many cases, which gives your database server software an advantage in being able to accurately guess where the next row begins, and skip through without parsing all the data in every row leading up to it. On 06/02/2009, at 10:14 AM, Cornelius Jaeger wrote: > cheers john > > hm, seems strange eh, you'd think this is something that is just > possible. > many thanks for the link, i'll work it tonight. > alternatively i'll have to copy the image to the file system after > all and serve it from the webserver. > > cheers > > cornelius > > On 03.02.2009, at 21:32, John Beppu wrote: > >> Roland just showed you how to inline it. >> >> Here's a little article on the technique he's using: >> >> http://jimbojw.com/wiki/index.php?title=Data_URIs_and_Inline_Images >> >> However, as Jenna said, this technique doesn't work in IE. Her >> first suggestion is probably the path of least resistance. >> >> --beppu >> >> On Tue, Feb 3, 2009 at 5:35 AM, Cornelius Jaeger > > wrote: >> Hi Jenna, Roland >> >> Thanks for your responses. >> How can I get the image inline in the html, rather than downloading >> it to the user? >> I'm not at all sure how to use markaby to stream the image data >> into something the img tag will understand. >> Many Thanks for helping >> >> Cornelius >> >> >> >> >> On 03.02.2009, at 01:58, Jenna Fox wrote: >> >> Make a controller with a get method to retrieve the image, then, >> have some code like this in it, supposing image_data is a string or >> something: >> >> headers['Content-Type'] = 'image/png' >> headers['Content-Length'] = image_data.length.to_s >> return image_data >> >> >> On 03/02/2009, at 10:58 AM, Cornelius Jaeger wrote: >> >> hi all >> >> just working on my first camping hack and new to ruby as well. >> i've figured some things out and uploading images into the >> database, but i'm not sure how to get the data displayed in the >> browser. >> i'd like to stream it straight from the db, not copy it to the fs >> first. >> obviously img(:src => file_data) doesn't work. >> any pointers or reading assignments would be v. welcome. >> many thanks >> >> cornelius >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From julian.tarkhanov at gmail.com Tue Feb 10 00:50:35 2009 From: julian.tarkhanov at gmail.com (Julik Tarkhanov) Date: Tue, 10 Feb 2009 06:50:35 +0100 Subject: Release? Message-ID: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> Hello folks! Just checking - I understand that Camping 2.0 entered the phase of perpetual polishing and will not likely happen, anytime soon, but would there be a possibility to at least have 1.5.180 on Robyforge for official installs instead of _why's repo? I just tried to deploy my blog just with "gem install camping" by mistake and been literally plagued by bugs in 1.5.x on forge, including the infamous "query-string-params-totally-mixed-with-path-for-R" problem and "all-my-images-appear-blank" problem. Pretty pretty please? -- Julik Tarkhanov me at julik.nl From judofyr at gmail.com Tue Feb 10 02:41:34 2009 From: judofyr at gmail.com (Magnus Holm) Date: Tue, 10 Feb 2009 08:41:34 +0100 Subject: Release? In-Reply-To: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> Message-ID: <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> Yes, we should release 2.0 soon... Meanwhile you can always download 2.0 using my repo: gem install camping --source http://gems.judofyr.net/ //Magnus On 10. feb.. 2009, at 06.50, Julik Tarkhanov wrote: > Hello folks! > > Just checking - I understand that Camping 2.0 entered the phase of > perpetual polishing and will not likely happen, > anytime soon, but would there be a possibility to at least have > 1.5.180 on Robyforge for official installs instead of _why's repo? > > I just tried to deploy my blog just with "gem install camping" by > mistake and been literally plagued by bugs in 1.5.x on forge, > including the > infamous "query-string-params-totally-mixed-with-path-for-R" problem > and "all-my-images-appear-blank" problem. > > Pretty pretty please? > -- > Julik Tarkhanov > me at julik.nl > > > > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list From julian.tarkhanov at gmail.com Tue Feb 10 12:24:31 2009 From: julian.tarkhanov at gmail.com (Julik Tarkhanov) Date: Tue, 10 Feb 2009 18:24:31 +0100 Subject: Release? In-Reply-To: <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> Message-ID: <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> On Feb 10, 2009, at 8:41 AM, Magnus Holm wrote: > Yes, we should release 2.0 soon... > > Meanwhile you can always download 2.0 using my repo: > gem install camping --source http://gems.judofyr.net/ I can, but people who might need my apps can't and won't look for non- official gem servers. Is there a possibility for someone to push the solidified, old-school 1.5.180 to Rubyforge? Before 2.0 is released? It's 2 minutes work, seriously... -- Julik Tarkhanov me at julik.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From judofyr at gmail.com Tue Feb 10 14:11:46 2009 From: judofyr at gmail.com (Magnus Holm) Date: Tue, 10 Feb 2009 20:11:46 +0100 Subject: Release? In-Reply-To: <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> Message-ID: <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> Hm... I've always thought 1.5 == 1.5.180... Well, only _why has access to the project, so there's not so much we can do :-( //Magnus Holm On Tue, Feb 10, 2009 at 18:24, Julik Tarkhanov wrote: > > On Feb 10, 2009, at 8:41 AM, Magnus Holm wrote: > > Yes, we should release 2.0 soon... > > Meanwhile you can always download 2.0 using my repo: > gem install camping --source http://gems.judofyr.net/ > > > I can, but people who might need my apps can't and won't look for > non-official gem servers.Is there a possibility for someone to push the > solidified, old-school 1.5.180 to Rubyforge? > Before 2.0 is released? It's 2 minutes work, seriously... > -- > Julik Tarkhanov > me at julik.nl > > > > > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julian.tarkhanov at gmail.com Wed Feb 11 03:54:43 2009 From: julian.tarkhanov at gmail.com (Julik Tarkhanov) Date: Wed, 11 Feb 2009 09:54:43 +0100 Subject: Release? In-Reply-To: <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> Message-ID: On Feb 10, 2009, at 8:11 PM, Magnus Holm wrote: > Hm... I've always thought 1.5 == 1.5.180... Well, only _why has > access to the project, so there's not so much we can do :-( I thought so too basically, but it 's not ==, its obviously <. Ok, I'll contact him off-list. -- Julik Tarkhanov me at julik.nl From why at whytheluckystiff.net Wed Feb 11 21:35:18 2009 From: why at whytheluckystiff.net (_why) Date: Wed, 11 Feb 2009 20:35:18 -0600 Subject: Release? In-Reply-To: <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> Message-ID: <20090212023517.GC67439@orleans.hobix.com> On Tue, Feb 10, 2009 at 08:11:46PM +0100, Magnus Holm wrote: > Hm... I've always thought 1.5 == 1.5.180... Well, only _why has access to > the project, so there's not so much we can do :-( I'm sorry everyone, let's get this all worked out, okay? Magnus, I've added you as an admin on both Rubyforge and Github. And, of course, you are free to add whoever else you like that will help you get your work done. Now, go. Show them Camping is still the little wheels! _why From blueberry at creativepony.com Thu Feb 12 01:00:41 2009 From: blueberry at creativepony.com (Jenna Fox) Date: Thu, 12 Feb 2009 17:00:41 +1100 Subject: Release? In-Reply-To: <20090212023517.GC67439@orleans.hobix.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> Message-ID: <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> Yay little wheels! Okay, first task! Whatever Magnus has right now, lets call it 2.0 and release it everywhere! We can bugfix later if we have to. :) On 12/02/2009, at 1:35 PM, _why wrote: > On Tue, Feb 10, 2009 at 08:11:46PM +0100, Magnus Holm wrote: >> Hm... I've always thought 1.5 == 1.5.180... Well, only _why has >> access to >> the project, so there's not so much we can do :-( > > I'm sorry everyone, let's get this all worked out, okay? > > Magnus, I've added you as an admin on both Rubyforge and Github. > And, of course, you are free to add whoever else you like that will > help you get your work done. > > Now, go. Show them Camping is still the little wheels! > > _why > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list From anibalrojas at gmail.com Thu Feb 12 05:14:45 2009 From: anibalrojas at gmail.com (=?ISO-8859-1?Q?An=EDbal_Rojas?=) Date: Thu, 12 Feb 2009 05:44:45 -0430 Subject: Release? In-Reply-To: <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> Message-ID: +1 Little wheels, and down the hill :-) -------------------------------- An?bal Rojas http://hasmanydevelopers.com http://rubycorner.com http://anibal.rojas.com.ve On Thu, Feb 12, 2009 at 1:30 AM, Jenna Fox wrote: > Yay little wheels! > > Okay, first task! Whatever Magnus has right now, lets call it 2.0 and > release it everywhere! We can bugfix later if we have to. :) > > > On 12/02/2009, at 1:35 PM, _why wrote: > >> On Tue, Feb 10, 2009 at 08:11:46PM +0100, Magnus Holm wrote: >>> >>> Hm... I've always thought 1.5 == 1.5.180... Well, only _why has access to >>> the project, so there's not so much we can do :-( >> >> I'm sorry everyone, let's get this all worked out, okay? >> >> Magnus, I've added you as an admin on both Rubyforge and Github. >> And, of course, you are free to add whoever else you like that will >> help you get your work done. >> >> Now, go. Show them Camping is still the little wheels! >> >> _why >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From judofyr at gmail.com Thu Feb 12 11:40:17 2009 From: judofyr at gmail.com (Magnus Holm) Date: Thu, 12 Feb 2009 17:40:17 +0100 Subject: Release? In-Reply-To: <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> Message-ID: <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> Okay, let's roll! I did some testing with `git checkout` and `diff -r` and figured out that the 1.5.180 gem is revision 173 in the Git repo... Weird stuff... However, let's focus on the future! First of all, we need some plan on how we should name the releases. What about keeping the rev-number in the version number and make it some sort of "patchlevel"? So 2.0 becomes 2.0.308, and any bugfixes which doesn't change the "external" API can we release as 2.0.xxx. Should make it simpler to release plain bugfixes without bumping the version number too high. 2.1 would then contain some more new stuff. Should also blend nicely into pre-releases since they can keep the same structure. Documentation is also needed, and we should migrate the old wiki ( http://web.archive.org/web/20080107032918/http://code.whytheluckystiff.net/camping) to the github wiki (http://wiki.github.com/why/camping). Maybe some of the wiki-docs should be in the camping-unabridged.rb too... And, we need some place where people can report bugs now when the Trac is gone. Ditz is pretty cool. I could probably set up Sheila too (camping makeup for ditz). Or we could turn this mailing-list into a bugtracker. What do you guys think? Yeah, and I'm going to write a changelog with all the new cool stuff :-) //Magnus Holm On Thu, Feb 12, 2009 at 07:00, Jenna Fox wrote: > Yay little wheels! > > Okay, first task! Whatever Magnus has right now, lets call it 2.0 and > release it everywhere! We can bugfix later if we have to. :) > > > > On 12/02/2009, at 1:35 PM, _why wrote: > > On Tue, Feb 10, 2009 at 08:11:46PM +0100, Magnus Holm wrote: >> >>> Hm... I've always thought 1.5 == 1.5.180... Well, only _why has access to >>> the project, so there's not so much we can do :-( >>> >> >> I'm sorry everyone, let's get this all worked out, okay? >> >> Magnus, I've added you as an admin on both Rubyforge and Github. >> And, of course, you are free to add whoever else you like that will >> help you get your work done. >> >> Now, go. Show them Camping is still the little wheels! >> >> _why >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kprojection at gmail.com Thu Feb 12 12:56:05 2009 From: kprojection at gmail.com (Eric Mill) Date: Thu, 12 Feb 2009 12:56:05 -0500 Subject: Release? In-Reply-To: <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> Message-ID: I don't genuinely enjoy using any issue/bug trackers (who does?), but Lighthouse is my least among evils. It's a lot nicer than Trac, anyway. What do you guys think? On Thu, Feb 12, 2009 at 11:40 AM, Magnus Holm wrote: > Okay, let's roll! > I did some testing with `git checkout` and `diff -r` and figured out that > the 1.5.180 gem is revision 173 in the Git repo... Weird stuff... > However, let's focus on the future! First of all, we need some plan on how > we should name the releases. What about keeping the rev-number in the > version number and make it some sort of "patchlevel"? So 2.0 becomes > 2.0.308, and any bugfixes which doesn't change the "external" API can we > release as 2.0.xxx. Should make it simpler to release plain bugfixes without > bumping the version number too high. 2.1 would then contain some more new > stuff. Should also blend nicely into pre-releases since they can keep the > same structure. > Documentation is also needed, and we should migrate the old wiki > (http://web.archive.org/web/20080107032918/http://code.whytheluckystiff.net/camping) to > the github wiki (http://wiki.github.com/why/camping). Maybe some of the > wiki-docs should be in the camping-unabridged.rb too... > And, we need some place where people can report bugs now when the Trac is > gone. Ditz is pretty cool. I could probably set up Sheila too (camping > makeup for ditz). Or we could turn this mailing-list into a bugtracker. What > do you guys think? > Yeah, and I'm going to write a changelog with all the new cool stuff :-) > //Magnus Holm > > > On Thu, Feb 12, 2009 at 07:00, Jenna Fox wrote: >> >> Yay little wheels! >> >> Okay, first task! Whatever Magnus has right now, lets call it 2.0 and >> release it everywhere! We can bugfix later if we have to. :) >> >> >> On 12/02/2009, at 1:35 PM, _why wrote: >> >>> On Tue, Feb 10, 2009 at 08:11:46PM +0100, Magnus Holm wrote: >>>> >>>> Hm... I've always thought 1.5 == 1.5.180... Well, only _why has access >>>> to >>>> the project, so there's not so much we can do :-( >>> >>> I'm sorry everyone, let's get this all worked out, okay? >>> >>> Magnus, I've added you as an admin on both Rubyforge and Github. >>> And, of course, you are free to add whoever else you like that will >>> help you get your work done. >>> >>> Now, go. Show them Camping is still the little wheels! >>> >>> _why >>> _______________________________________________ >>> Camping-list mailing list >>> Camping-list at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/camping-list >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From julian.tarkhanov at gmail.com Thu Feb 12 14:42:32 2009 From: julian.tarkhanov at gmail.com (Julik Tarkhanov) Date: Thu, 12 Feb 2009 20:42:32 +0100 Subject: Release? In-Reply-To: <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> Message-ID: On Feb 12, 2009, at 5:40 PM, Magnus Holm wrote: > However, let's focus on the future! First of all, we need some plan > on how we should name the releases. Basic. http://www.rubygems.org/read/chapter/7 Knowing how much changed on 2.0 I expect that some things are very different and analogous to API change, so 2.0 be it. 1.5.180 is just "tiny" 180 and a bugfix release, besides people who installed it from _why's server will not get screwed when it pops up on their server and they set it up as a dep. > What about keeping the rev-number in the version number and make it > some sort of "patchlevel"? What worked well for me is upping the "tiny" revision every time I say "this is a tagged release, and it goes out to rubyforge". Putting int SHAs in there doesn't really scale because less has to still mean "older" and more has to mean "younger". > So 2.0 becomes 2.0.308, and any bugfixes which doesn't change the > "external" API can we release as 2.0.xxx. Should make it simpler to > release plain bugfixes without bumping the version number too high. > 2.1 would then contain some more new stuff. Should also blend nicely > into pre-releases since they can keep the same structure. Why not just 2.0.0 with a tag, then 2.0.1 with a tag and so on? Then you also know everytime you release something you have a tag for it. And things like rebases will not ruin your schemes -- Julik Tarkhanov me at julik.nl From julian.tarkhanov at gmail.com Thu Feb 12 14:43:34 2009 From: julian.tarkhanov at gmail.com (Julik Tarkhanov) Date: Thu, 12 Feb 2009 20:43:34 +0100 Subject: Release? In-Reply-To: References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> Message-ID: <74C89A9D-15E6-4356-802C-73FF3AA49EEC@gmail.com> On Feb 12, 2009, at 6:56 PM, Eric Mill wrote: > I don't genuinely enjoy using any issue/bug trackers (who does?), but > Lighthouse is my least among evils. It's a lot nicer than Trac, > anyway. What do you guys think? I rather like the oldskool idea of the bugtracker being powered by Camping itself. Besides, this would move the bugtracker project on it's own. -- Julik Tarkhanov me at julik.nl From zimbatm at oree.ch Fri Feb 13 01:53:46 2009 From: zimbatm at oree.ch (zimbatm) Date: Fri, 13 Feb 2009 07:53:46 +0100 Subject: Release? In-Reply-To: References: <62183EB5-485B-4C83-AFF0-B1801C9080D5@gmail.com> <14540CF2-1C18-4F89-ACD5-DDEA9385AD8C@gmail.com> <00B45FC2-C99C-4B53-AA29-D7251757313A@gmail.com> <391a49da0902101111k2b1a5679h23d6ef990c772a47@mail.gmail.com> <20090212023517.GC67439@orleans.hobix.com> <3A337991-6D4D-42DD-8122-2E6D8B38E532@creativepony.com> <391a49da0902120840u31193b42r364575b719c6066d@mail.gmail.com> Message-ID: On Thu, Feb 12, 2009 at 8:42 PM, Julik Tarkhanov wrote: > Why not just 2.0.0 with a tag, then 2.0.1 with a tag and so on? Then you > also know everytime you release something you have a tag for it. And things > like rebases will not ruin your schemes +1 From judofyr at gmail.com Sat Feb 14 09:43:15 2009 From: judofyr at gmail.com (Magnus Holm) Date: Sat, 14 Feb 2009 15:43:15 +0100 Subject: Getting ready for release Message-ID: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> Okay, boys and girls: Let's get ready for the release! First of all, in case you missed it: I now have full access to the RubyForge project and why's repo at GitHub. I guess this makes me some sort of a project leader, but don't worry: The community will still maintain Camping. I will continue pushing to my own repo and will ask the mailing list before merging any big changes. Everything will still be maintained through this mailing list. I'm not going to work on any new features (not many, but I still have some ideas left); just preparing for this release. This means (in no specific order): * Update the documentation * Update the GitHub wiki * Update the changelog * Clean up the examples * Choose a bug tracker * Write an announcement * Fix any bugs discovered while we're cleaning up I'm working on the documentation at the moment. I'm also going to take some of the essential stuff that was on the old wiki and put it right into the RDoc. The RDoc tempate (flipbook) is currently on hold until Eric Hodel finishes his awesome refactoring of RDoc. Then I'll convert it to the new template system and probably add search. When it comes to bug tracking, I really like ditz (http://ditz.rubyforge.org) + sheila (written in Camping; example: http://masanjin.net:9000/). What do you think? 2.0 will then be release, 2.0.x for minor fixes, 2.0.x.REV for bleeding edge (from my gem server) and 2.1 for completely new featues. Any comments or thoughts? Anyone else who want to do some of these things? Remember, I'm not _why ;-) //Magnus Holm -------------- next part -------------- An HTML attachment was scrubbed... URL: From anibalrojas at gmail.com Sat Feb 14 11:40:45 2009 From: anibalrojas at gmail.com (=?ISO-8859-1?Q?An=EDbal_Rojas?=) Date: Sun, 15 Feb 2009 12:10:45 +1930 Subject: Getting ready for release In-Reply-To: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> References: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> Message-ID: Magnus, First, you are right, you are not _why but you are doing an amazing job. You can throw away the little wheels. I would be happy to contribute updating the Wiki at GitHub, starting next saturday. Not sure what timeframe are you thinking for the release... Best regards, -------------------------------- An?bal Rojas http://hasmanydevelopers.com http://rubycorner.com http://anibal.rojas.com.ve On Sun, Feb 15, 2009 at 10:13 AM, Magnus Holm wrote: > Okay, boys and girls: Let's get ready for the release! > > First of all, in case you missed it: I now have full access to the RubyForge > project and why's repo at GitHub. I guess this makes me some sort of a > project leader, but don't worry: The community will still maintain Camping. > I will continue pushing to my own repo and will ask the mailing list before > merging any big changes. Everything will still be maintained through this > mailing list. > I'm not going to work on any new features (not many, but I still have some > ideas left); just preparing for this release. This means (in no specific > order): > * Update the documentation > * Update the GitHub wiki > * Update the changelog > * Clean up the examples > * Choose a bug tracker > * Write an announcement > * Fix any bugs discovered while we're cleaning up > I'm working on the documentation at the moment. I'm also going to take some > of the essential stuff that was on the old wiki and put it right into the > RDoc. > The RDoc tempate (flipbook) is currently on hold until Eric Hodel finishes > his awesome refactoring of RDoc. Then I'll convert it to the new template > system and probably add search. > When it comes to bug tracking, I really like ditz > (http://ditz.rubyforge.org) + sheila (written in Camping; > example: http://masanjin.net:9000/). What do you think? > 2.0 will then be release, 2.0.x for minor fixes, 2.0.x.REV for bleeding edge > (from my gem server) and 2.1 for completely new featues. > Any comments or thoughts? Anyone else who want to do some of these things? > Remember, I'm not _why ;-) > > //Magnus Holm > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > From aredridel at nbtsc.org Sat Feb 14 12:01:27 2009 From: aredridel at nbtsc.org (Aria Stewart) Date: Sat, 14 Feb 2009 10:01:27 -0700 Subject: Getting ready for release In-Reply-To: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> References: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> Message-ID: <1234630887.31031.1.camel@localhost> On Sat, 2009-02-14 at 15:43 +0100, Magnus Holm wrote: > Okay, boys and girls: Let's get ready for the release! > > > When it comes to bug tracking, I really like ditz > (http://ditz.rubyforge.org) + sheila (written in Camping; > example: http://masanjin.net:9000/). What do you think? Sounds great! I rather like ditz. Only problem I see -- how do Ordinary Joes submit bugs? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From aredridel at nbtsc.org Sat Feb 14 12:01:27 2009 From: aredridel at nbtsc.org (Aria Stewart) Date: Sat, 14 Feb 2009 10:01:27 -0700 Subject: Getting ready for release In-Reply-To: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> References: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> Message-ID: <1234630887.31031.2.camel@localhost> On Sat, 2009-02-14 at 15:43 +0100, Magnus Holm wrote: > Okay, boys and girls: Let's get ready for the release! > > > When it comes to bug tracking, I really like ditz > (http://ditz.rubyforge.org) + sheila (written in Camping; > example: http://masanjin.net:9000/). What do you think? Sounds great! I rather like ditz. Only problem I see -- how do Ordinary Joes submit bugs? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From david.gurba at gmail.com Sat Feb 14 13:00:17 2009 From: david.gurba at gmail.com (David Gurba) Date: Sat, 14 Feb 2009 10:00:17 -0800 Subject: Getting ready for release In-Reply-To: <1234630887.31031.1.camel@localhost> References: <391a49da0902140643q27e46310gfabfcec4a68a45a7@mail.gmail.com> <1234630887.31031.1.camel@localhost> Message-ID: setup Sheila Ditz someplace for normal Joes? http://github.com/why/sheila/blob/master/sheila.rb -dg On Feb 14, 2009, at 9:01 AM, Aria Stewart wrote: > On Sat, 2009-02-14 at 15:43 +0100, Magnus Holm wrote: >> Okay, boys and girls: Let's get ready for the release! > >> >> >> When it comes to bug tracking, I really like ditz >> (http://ditz.rubyforge.org) + sheila (written in Camping; >> example: http://masanjin.net:9000/). What do you think? > > Sounds great! I rather like ditz. > > Only problem I see -- how do Ordinary Joes submit bugs? > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list