store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Mon Sep 01, 2014 3:29 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: New Project: Yum Web GUI
Unread postPosted: Wed Jan 09, 2008 3:50 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
This is going to be an open source project to build a web based front end for yum, specifically to run in plesk. We need developers in PHP and/or python, and web designers/graphic artists to handle the look and feel.

I've put together the intial mockup here:
http://www.atomicrocketturtle.com/galle ... temId=1430

This is based on the yumex interface we use in gnome for now. I'm open to different ideas on how to make this more practical in a web environment.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Jan 09, 2008 7:25 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue May 10, 2005 1:24 pm
Posts: 193
I am a php developer and would be happy to help in anyway I can.


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Jan 10, 2008 2:04 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
Internally with yum we're working with some basic commands:

yum list

yum update

yum install

The data itself is stored in a sqlite database (I think), and there is another open source project that reads that into a web interface now:

http://www.mricon.com/trac/wiki/Repoview

My idea here is to have the web gui work from the sqlite database, which will probably be faster than calling yum in real time. We could update the yum cache on demand with a button in the gui.

So to start with I think we need to look at how we can read the yum cache, probably using Repoview as a guide to start with. With that data in hand we can use that to pass the variables into yum itself. Do all the manipulation, searching, etc right out of the cache (sqlite).


Top
 Profile  
 
 Post subject:
Unread postPosted: Thu Jan 17, 2008 8:55 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
Basic "Updates" view

http://www.atomicrocketturtle.com/galle ... =xf37e2220

The next hurdle is to get this data through the yum API as opposed to manipulating the output from "yum check-update" or "yum list". The issue we're running into right now is that even if you tell yum to work from the cache, there is still a DNS lookup event against all the configured yum repos. Normally this is OK, but it causes problems when a repo is having problems. This can cause delays in running the command for several minutes, which in a web interface isn't going to cut it.

Plan B is to extract this data directly from the yum sqlite DB's used by each repository. This was my original idea, but I think going through the yum api is going to be more efficient, and save time if the formats change in the future.

PS- send help!


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jan 18, 2008 10:07 am 
Offline
Forum Regular
Forum Regular

Joined: Tue May 10, 2005 1:24 pm
Posts: 193
After I posted in this thread, I haven't had any extra time to think about this. I will try to catch you on im later today if I have time and see what I can help with.


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jan 18, 2008 10:44 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
Awesome, right now weve completed the prototype which can:

Update/Install/Remove packages
Browse Repositories
View information about a package

The TODO is:
Search
Confirmation Screen (Are you sure you want to remove/update/install these packages Y/N?)
Edit/Add/Remove Repositories
Group View
"Monitor-mode" (This is if you have a really long update, something to watch a log file from yum rather than wait for yum to exit normally inside PHP.)


Top
 Profile  
 
 Post subject:
Unread postPosted: Fri Jan 25, 2008 7:47 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
The initial release, version 0.1 is now available for CentOS5. CentOS4 is going to take a little bit more work due to the lack of a core dependency not being available. You might also be able to get this to work on FC6 or FC7 so versions have been produced for those platforms as well (untested).

You can install atomic-yum through yum with:

yum install atomic-yum

This version supports Smarty templates, which is great because as you'll quickly see, Tony and I have exactly zero skill with making a good looking interface. Someone save us from ourselves!

Ubiquitous screenshots are available here:
http://www.atomicrocketturtle.com/galle ... temId=1428


Top
 Profile  
 
 Post subject:
Unread postPosted: Sun Jan 27, 2008 8:26 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 15, 2008 3:57 am
Posts: 478
Location: Netherlands
Very nice Scott and Thx! :) keep us posted on the CentOS 4 version please :) I saw version 1.0.3 was released yesterday...

_________________
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting


Top
 Profile  
 
 Post subject:
Unread postPosted: Mon Jan 28, 2008 4:35 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
Atomic-yum 0.2 is out, this supports CentOS4.

and there was much rejoicing


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 29, 2008 3:43 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 15, 2008 3:57 am
Posts: 478
Location: Netherlands
Works great on CentOS 4 now :) Thx! again, maybe you can give it another color icon as the ASL icon ;)

_________________
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 29, 2008 5:52 am 
Offline
Forum Regular
Forum Regular

Joined: Wed Jan 02, 2008 3:21 pm
Posts: 520
Location: United Kingdom
Works great on RHEL4 also (as you'd expect), just upgraded ASL. I agree about the icon colour, but it's no biggie!

Thanks guys - nice work :D


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 29, 2008 9:19 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
Awesome. If someone wants to give us a hand on the graphics side that would be great, the extent of my skills go no further than cut and paste.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 29, 2008 10:39 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 15, 2008 3:57 am
Posts: 478
Location: Netherlands
Turtle
Image = ASL
Image = Backup?
Image = YUM (Yellow)
Image = Next?

Bug
Image = ASL
Image = YUM
Image = Next?

Shield
Image = ASL
Image = YUM
Image = Next?

Plugin
Image = ASL
Image = YUM
Image = Next?

Server
Image = ASL
Image = YUM
Image = Next?

Others
Image Image Image
Image Image

How many Plesk modules do you have?

_________________
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting


Last edited by BerArt on Wed Feb 06, 2008 8:22 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 29, 2008 11:46 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7892
Location: earth
Wow thats awesome! How do you do that so fast?

At the moment, I have the 2 modules done (ASL, and yum), and ideas for lots of other ones. Like backups for example, or cluster management.


Top
 Profile  
 
 Post subject:
Unread postPosted: Tue Jan 29, 2008 11:49 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jan 15, 2008 3:57 am
Posts: 478
Location: Netherlands
back-up! that would be nice! :) Most of these icons I have in archive. I have a lot more (royalty free offcause) feel free to use them.

_________________
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


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

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