It is currently Sat Nov 26, 2011 8:13 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: New Src
PostPosted: Fri Apr 30, 2010 10:02 pm 
Offline
Developer

Joined: Thu Oct 08, 2009 1:18 am
Posts: 62
Hey Devs,

Wanted to post a link to the new implementation Mike and I have been working on for the last little bit. If can be found on github @ http://github.com/ted/ted.

Github allows any dev to easily clone the repo, write patches/bugfixes, and send them back to the main project.

Here's a quick rundown of how the project is going to be structured. There are three subprojects:

ted-api: This is an Apache Thrift definition of the client/server interface. It is currently being used to generate the service, and Java files that will be passed between client and server, and persisted. You can build and locally deploy the API by running: "mvn -P thrift" in the ted-api directory. (After installing Thrift). We may look at deploying this to a mvn repo soon so devs that do not want to work on API stuff don't need Thrift.

ted-server: This is the core ted code, that is responsible for tracking the watched shows, searching for new episodes, downloading the torrents, etc. (need to do a quick mavenization and move src/ to src/main -- probably this weekend)

ted-ui: These are the project UIs. Anyone will be able to write a UI, but we'll probably have a few built-in UIs. Currently it includes a GWT UI, and will likely have a swing UI once we get a little further.

The ways the project will differ from the original ted:

Instead of maintaining a list of known shows, we are providing a search for shows that the guide knows about.

Instead of defined rules for what makes a good torrent, we're going to include rules that will validate a torrent matches what the user expects.

We will try to maintain strict interfaces between the different modules to allow the addition of new torrent sources, guides, etc by other devs.

Also to note, although the API is changing now, when a version is released the API version number will be changed, and that version number will no longer change. For future versions we will write version translators to move the objects from one version to the next.

Finally, we also created an assembla project page while working on this. It's being used to track the new tickets. Check it out at https://www.assembla.com/spaces/dashboard/index/ted .

Let me know what you guys think,

Kenny


Top
 Profile  
 
 Post subject: Re: New Src
PostPosted: Tue Jun 01, 2010 4:33 pm 
Offline

Joined: Fri Dec 04, 2009 2:03 am
Posts: 12
Hi Kenny,

This is great news in regards to a more modular version of ted.
So, is this a fork of ted / new ted? Is this code going to be pushed back into ted main SVN repository or this will have nothing to do with the current version of ted?


Top
 Profile  
 
 Post subject: Re: New Src
PostPosted: Tue Jun 01, 2010 6:00 pm 
Offline
Developer

Joined: Thu Oct 08, 2009 1:18 am
Posts: 62
This could be considered a fork of ted. Little is copied from the current Ted at the moment, but as more is added to the new version more will be copied over.

After much deliberation between Mike and me we decided that the effort required to split the current UI code out from what I'll call the business logic would take longer than a rewrite. The code is unfortunately really coupled in the current version of ted. That's not a criticism of the original development though, as it was designed to run only a Swing UI.

We decided to start fresh, and then include only the code that made sense. We now have a server that starts and can save it's state, the start of a GWT UI, the ability to search for shows (instead of needing to maintain a list), and episodes that are added to the 'searching' list when they air.

Next steps include actually doing the searching. This is where some of the original code will come in very handy.

As for the SVN question. I'm not sure if we'll use SVN or Git going forward. GitHub actually supports a new SVN interface to the Git repository: svn checkout http://svn.github.com/ted/ted.git .There's an error checking that out with SVN because of a few .svn directories, but I'll delete them tonight. I like using Git because it allows us to accept patches from anyone and they retain authorship of the change.


Top
 Profile  
 
 Post subject: Re: New Src
PostPosted: Wed Dec 08, 2010 5:54 am 
Offline

Joined: Thu Jun 03, 2010 6:43 am
Posts: 6
Looks like there's quite a bit of activity in the Git repo. I haven't grabbed it yet since it isn't clear how far along you are now. Is it ready for some alpha testing yet?


Top
 Profile  
 
 Post subject: Re: New Src
PostPosted: Sat Dec 11, 2010 4:08 pm 
Offline
Developer

Joined: Thu Oct 08, 2009 1:18 am
Posts: 62
Umm... not quite yet. I've got some work to do on packaging it up, so I'm hopeful for an alpha early in the new year.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group