[opensuse-project] ssc - Weekly Update

Hi, I'm working on the command line client for Suse Studio(ssc) project as part of GSOC 2011. I'll be posting weekly updates of the project on my blog [1]. There isn't much to check out now but in the coming weeks please do check in and leave feedback. Thank You. [1]: http://rxvl.in/tagged/ssc -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, The updates of the work done this week is up on my blog[1]. Please do take a look at it and the code[2]. Thank You. [1] http://rxvl.in/post/6175434117/gsoc-2011-ssc-week-2 [2] http://gitourious.org/ssc/ssc -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, Sorry for the late update. Its been posted as usual at http://rxvl.in/post/6481353758/gsoc-2011-ssc-week-3 On Sat, Jun 4, 2011 at 7:54 PM, Ratan Sebastian <ratanjagan@gmail.com> wrote:
Hi,
The updates of the work done this week is up on my blog[1]. Please do take a look at it and the code[2].
Thank You.
[1] http://rxvl.in/post/6175434117/gsoc-2011-ssc-week-2 [2] http://gitourious.org/ssc/ssc
-- Ratan Sebastian
-- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, This week's update is up. You can find it here: http://rxvl.in/post/6688635893/gsoc-2011-ssc-week-4 Thank You. -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Update for Week 6 is now up here: http://rxvl.in/post/7219106912/gsoc-2011-ssc-week-6 -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, A little middle of the week update to make up for last week. There have been some major changes with ssc. The command line parsing has been completely overhauled. The ArgumentParser that I'd written was far too buggy and has been switched out for thor[1]. Besides the stability that thor provides, it also adds a lot of useful features right out of the box like command help. You can do ssc help [command] and ssc [appliance|package|...] help for more specific help to get information about any of the commands and the options that it allows and which options are required and which are optional. It also provides helpers to nicely format output and error messages. The other major under-the-hood change is the structure of the local cache files. The files now use YAML for all the read/write operations so that there's never a chance of a corrupted storage file. Also the structure is more convenient for upcoming operations like commit. By the end of this week you can expect to see the commit, status and update commands implemented. status will show all pending updates "add"s, "remove"s, "bans"s etc. It'll parse all the local storage files and show the changes that haven't been pushed. It'll show other appliance status related information as well. Like build status and current build update or sync will update all the local files with information about installed packages, repositories, files etc. In case changes have been made from other instances of the appliance directory or from the web app commit pushes the locally made changes. That's the spec for now. Suggestions are welcome. Also the errors that you might have gotten if you'd tried ssc earlier must be fixed now if you update the studio_api gem. I've made a minor version bump[2] that includes studio_api v3.1.2 as a dependency. [1] https://github.com/wycats/thor [2] http://dl.dropbox.com/u/546252/ssc_releases/ssc-0.2.0.gem On Mon, Jul 4, 2011 at 11:05 AM, Ratan Sebastian <ratanjagan@gmail.com> wrote:
Update for Week 6 is now up here: http://rxvl.in/post/7219106912/gsoc-2011-ssc-week-6
-- Ratan Sebastian
-- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

On Wednesday 20 July 2011 14:37:35 Ratan Sebastian wrote:
A little middle of the week update to make up for last week. There have been some major changes with ssc. The command line parsing has been completely overhauled. The ArgumentParser that I'd written was far too buggy and has been switched out for thor[1]. Besides the stability that thor provides, it also adds a lot of useful features right out of the box like command help. You can do ssc help [command] and ssc [appliance|package|...] help for more specific help to get information about any of the commands and the options that it allows and which options are required and which are optional. It also provides helpers to nicely format output and error messages.
That's nice.
By the end of this week you can expect to see the commit, status and update commands implemented.
Are they working from within an appliance on the actual state of the files, packages, etc. Or is this purely working on the cached data? So, if for example I build an openSUSE JeOS appliance, run it somewhere, add more software in the running system with zypper, does ssc allow me to easily add this software to the appliance configuration?
Also the errors that you might have gotten if you'd tried ssc earlier must be fixed now if you update the studio_api gem. I've made a minor version bump[2] that includes studio_api v3.1.2 as a dependency.
It would be great, if you could put the gem on rubygems, so that people can just install it with "gem install ssc" without having to do any other configuration or know any URLs. This would make it easier to try it and get feedback. Do you think you could do this? It also would be nice, if you could present your project on the studio- users@suse.de mailing list. There you can get more feedback from other Studio users, and it's a better place to discuss technical details than the opensuse- project mailing list. -- Cornelius Schumacher <cschum@suse.de> -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

On Wed, Jul 20, 2011 at 8:15 PM, Cornelius Schumacher <cschum@suse.de> wrote:
By the end of this week you can expect to see the commit, status and update commands implemented.
Are they working from within an appliance on the actual state of the files, packages, etc. Or is this purely working on the cached data?
So, if for example I build an openSUSE JeOS appliance, run it somewhere, add more software in the running system with zypper, does ssc allow me to easily add this software to the appliance configuration?
There is no way to do this automatically right now but I'll add this functionality soon. A task to query the package manager and mark all packages installed on the current system for addition to an appliance.
Also the errors that you might have gotten if you'd tried ssc earlier must be fixed now if you update the studio_api gem. I've made a minor version bump[2] that includes studio_api v3.1.2 as a dependency.
It would be great, if you could put the gem on rubygems, so that people can just install it with "gem install ssc" without having to do any other configuration or know any URLs. This would make it easier to try it and get feedback. Do you think you could do this?
There's currently already an ssc on rubygems. It seems to be the old version. I'll contact the maintainer and see if I can get this one up.
It also would be nice, if you could present your project on the studio- users@suse.de mailing list. There you can get more feedback from other Studio users, and it's a better place to discuss technical details than the opensuse- project mailing list.
I'll do that.
-- Cornelius Schumacher <cschum@suse.de>
-- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi
There's currently already an ssc on rubygems. It seems to be the old version. I'll contact the maintainer and see if I can get this one up.
I already got access to that and I will push the new version of the gem. You can also find the gem in the build service [1]. Alternatively search for rubygem-ssc in devel:languages:ruby:extensions - a new version is being built as we speak. Best regards, Cristian [1] - https://build.opensuse.org/package/show?package=rubygem-ssc&project=devel%3A... <https://build.opensuse.org/package/show?package=rubygem-ssc&project=devel%3Alanguages%3Aruby%3Aextensions> -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, The update for week #9 is up [1]. As mentioned by Cristian, ssc is now released on rubygems.org. So you can install it with `gem install ssc` if you want to try it out. [1] http://rxvl.in/post/7967401920/gsoc-2011-ssc-week-9 -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, The update for week #10 and the tasks for next week are up [1]. [1] http://rxvl.in/post/8339259286/gsoc-2011-ssc-week-10 -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, Reading the blog post.. its great. Especially writing examples for new users. Would you say its ready for a demo? Best regards, Cristian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org

Hi, This is my final report on the progress on the ssc project. A complete summary on the tool's functions and some examples are available on the wiki page[1]. This week was spent improving code coverage of the test suite (which is now about 70% over each of the handlers) and more bug fixing. The project has been a great experience and I've learned a lot. To summarise the goals achieved, most of the commands outlined in my initial proposal have been implemented. One of the main aims of this project was to have ssc perform some of its tasks offline and still sync seamlessly with the web app. This has been mostly accomplished with a framework that allows addition of extra handlers as necessary. There are still some things that can be improved mainly in terms of performance and output formatting. The test suite is pretty extensive and should provide sufficient cover as further modifications are made to this tool. As always, suggestions and feedback are always welcome. I look forward to continue contributions to this project outside of GSOC. [1]: http://en.opensuse.org/openSUSE:SUSE_Studio_command_line_client -- Ratan Sebastian -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-project+help@opensuse.org
participants (4)
-
Cornelius Schumacher
-
Cristian Messel
-
Cristian Mircea Messel
-
Ratan Sebastian