webOS Nation Forums >  webOS developer forums >  Canuck Coding > Ipkg Feed Generator v1.0
Ipkg Feed Generator v1.0

  Reply
 
LinkBack Thread Tools Display Modes
Old 05/12/2011, 06:52 PM   #1 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,954 Times in 1,495 Posts
Default Ipkg Feed Generator v1.0

This started out as a personal project, but I figured I'd release it publicly as I know a lot of people could find this handy.

It's a very basic and very fast java program that creates ipkg feeds, for use by programs like WOSQI and Preware.

Just put the jar file in a directory with the ipk files. Then run the jar and a it'll generate proper "Packages" and "Packages.gz" files.

No interface or configuration needed. Just run it and within seconds the feed files will be generated. It's just that simple

One great usage is putting ipk files in a Dropbox public folder. Just run the jar from inside that folder and you'll have your own personal feed for use in WOSQI and Preware.

Oh, and on a technical side, for those curious, it looks through the ipk's control file for the package info, and if it's detected that the ipk was made via palm-package, then it'll parse the appinfo.json to fill in any missing information.


Download Here


Project is MIT open source licensed, available at ipkg-feed-generator - Ipkg Feed Generator - Google Project Hosting


Change Log
v1.0.0 - May 12, 2011
- Initial release
__________________
If you've liked my software, please consider to towards future development.

Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more.

@JayCanuck @CanuckCoding Facebook
Jason Robitaille is offline   Reply With Quote
Old 05/12/2011, 07:03 PM   #2 (permalink)
Moderator
 
Cantaffordit's Avatar
 
Join Date: Jan 2010
Posts: 15,149
Likes Received: 958
Thanks: 3,804
Thanked 3,910 Times in 2,776 Posts
Default

Very cool! Why hasn't Palm hired you yet?
Cantaffordit is offline   Reply With Quote
Old 05/12/2011, 07:34 PM   #3 (permalink)
Homebrew Developer
 
Join Date: Jul 2011
Posts: 125
Likes Received: 67
Thanks: 43
Thanked 3,127 Times in 2,009 Posts
Default

Thanks Jason!
Garrett92C is online now   Reply With Quote
Old 05/12/2011, 07:44 PM   #4 (permalink)
Homebrew Developer
 
Join Date: Jul 2011
Posts: 125
Likes Received: 67
Thanks: 43
Thanked 3,127 Times in 2,009 Posts
Default

Just set up my own feed on my webhost, added it to Preware, downloaded and installed my own patch (packaged as ipk).

This will make things so much easier!
__________________
Twitter: @ChoorpStudios
Like my work and want to donate? You can do so here.
Garrett92C is online now   Reply With Quote
Old 05/12/2011, 09:33 PM   #5 (permalink)
Member
 
Join Date: Oct 2008
Posts: 552
Likes Received: 7
Thanks: 50
Thanked 23 Times in 23 Posts
Default

Jason, this is great.

I have been looking for a solution to easily install apps from my PC to my Pre, without a usb cable. The cloud-service apps (i.e. dropboxify, zumodrive, etc.) all seem to require that you first download the app to the device, then hunt it down with Internalz to install.

This looks like a better alternative. By the way, any progress with your dropbox app, or has that fallen by the wayside?
Ubuntite is offline   Reply With Quote
Old 05/12/2011, 10:18 PM   #6 (permalink)
Member
 
GMTesta's Avatar
 
Join Date: Feb 2010
Posts: 190
Likes Received: 1
Thanks: 6
Thanked 24 Times in 13 Posts
Default

Quote:
Originally Posted by Garrett92C View Post
Just set up my own feed on my webhost, added it to Preware, downloaded and installed my own patch (packaged as ipk).

This will make things so much easier!

How do you setup your own feed to use with preware? I'm trying to setup a private beta test and I would like to give my testers a custom feed so they can update via preware.
GMTesta is offline   Reply With Quote
Old 05/12/2011, 10:27 PM   #7 (permalink)
Homebrew Developer
 
Join Date: Jul 2011
Posts: 125
Likes Received: 67
Thanks: 43
Thanked 3,127 Times in 2,009 Posts
Default

Quote:
Originally Posted by GMTesta View Post
How do you setup your own feed to use with preware? I'm trying to setup a private beta test and I would like to give my testers a custom feed so they can update via preware.
I made a folder on my PC with one of my patch IPKs and IpkgfeedGenerator.jar. I ran Jason's jar and it made two new files (Packages and Packages.gz).

I made a new folder on my webhost and uploaded those two Packages files and my patch ipk. Let's say they're in
Code:
http://webos.choorp.com/feed/
In Preware, I added this new feed:
Name: garrett
URL:
Code:
http://webos.choorp.com/feed
Is Compressed: Yes

I don't think the name you use matters... lol
__________________
Twitter: @ChoorpStudios
Like my work and want to donate? You can do so here.
Garrett92C is online now   Reply With Quote
Old 05/13/2011, 01:10 PM   #8 (permalink)
Homebrew Developer
 
patrickc's Avatar
 
Join Date: Apr 2010
Location: Tennessee
Posts: 235
Likes Received: 7
Thanks: 40
Thanked 23 Times in 18 Posts
Default

Thanks Jay!!
__________________
webOSroundup and Project Macaw contributor
Remember, if I helped you, please click on the little or ♥ to the right
patrickc is offline   Reply With Quote
Old 05/13/2011, 04:15 PM   #9 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 545
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Garrett92C View Post
I don't think the name you use matters...
You will want it to be unique.

Some people name their testing feeds the same as the main feeds and then submit bogus error reports about things not being in the feeds cause they've clobbered the main feed by overwriting it with the testing feed contents.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 05/13/2011, 04:16 PM   #10 (permalink)
Homebrew Developer
 
patrickc's Avatar
 
Join Date: Apr 2010
Location: Tennessee
Posts: 235
Likes Received: 7
Thanks: 40
Thanked 23 Times in 18 Posts
Default

Quote:
Originally Posted by rwhitby View Post
You will want it to be unique.

Some people name their testing feeds the same as the main feeds and then submit bogus error reports about things not being in the feeds cause they've clobbered the main feed by overwriting it with the testing feed contents.

-- Rod
Name being? Link?
__________________
webOSroundup and Project Macaw contributor
Remember, if I helped you, please click on the little or ♥ to the right
patrickc is offline   Reply With Quote
Old 05/14/2011, 02:01 PM   #11 (permalink)
Member
 
DMeister's Avatar
 
Join Date: May 2010
Location: Roma
Posts: 38
Likes Received: 1
Thanks: 10
Thanked 6 Times in 6 Posts
Default

Hi Jason... I've just add my feed on dropbox, but Preware doesn't want see it!!! What is the link for preware? ex. "http//dl.dropbox.com/u/******/feed" ???

EDIT: Just solve!
DMeister is offline   Reply With Quote
Old 08/25/2011, 01:09 PM   #12 (permalink)
Member
 
Join Date: Sep 2010
Posts: 1,834
Likes Received: 89
Thanks: 55
Thanked 323 Times in 228 Posts
Default

Hey Jason, had a few questions. How do you set a description that would show up when you browse the app in Preware? Also, is there a way to set the feed so some apps are only available for the Touchpad in Preware, sort of how some packages say it's not available for 2.1?
__________________
Grav - Canvas-based Gravity Simulation
rsanchez1 is offline   Reply With Quote
Old 08/25/2011, 09:26 PM   #13 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 545
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by rsanchez1 View Post
Hey Jason, had a few questions. How do you set a description that would show up when you browse the app in Preware? Also, is there a way to set the feed so some apps are only available for the Touchpad in Preware, sort of how some packages say it's not available for 2.1?
Preware has MinWebOSVersion, MaxWebOSVersion and DeviceCompatibility support in the package metadata.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 08/27/2011, 10:49 PM   #14 (permalink)
Member
 
Join Date: Sep 2010
Posts: 1,834
Likes Received: 89
Thanks: 55
Thanked 323 Times in 228 Posts
Default

Cool, thanks Rod.
__________________
Grav - Canvas-based Gravity Simulation
rsanchez1 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0