DidRocks' blog

apt-get install freedom

Aller au contenu | Aller au menu | Aller à la recherche

samedi, avril 2 2016

ubuntu booth and conferences at jdll 2016

The "Journée Du Logiciel Libre" are a very nice event in Lyon (France) over a full week-end where the public is invited to come, talk and assist conferences around free software.

Of course, the Ubuntu-fr team is present and have a nice booth here.

jdll-stand.jpg

I'm also present and give a talk about snappy Ubuntu Core against a full attendance room!

jdll-snappy-conference.JPG

Followed by an hour workshop more focused on developers. A lot of discussions and interesting interactions here! jdll-atelier.jpg

That was a blast, thanks to everyone who attended! I'm still around tomorrow, do not hesitate to stop at the Ubuntu booth and have a chat!

mercredi, mars 30 2016

Ubuntu Make 16.03 features Eclipse JEE, Intellij EAP, Kotlin and a bunch of fixes!

I'm really delighted to announce a new Ubuntu Make release, scoring 16.03, bringing updates for a bunch of frameworks while introducing new support!

uld_logo

I'm also really proud as this new release features three new awesome contributors: Tankypon, adding the Superpowers game editor framework, Eakkapat Pattarathamrong, adding more tests for Visual Studio Code, and Almeida, doing some great updates to the portuguese translations!

The returning awesome work from Galileo Sartor an Omer Sheikh got us new Eclipse JEE installation support, IntelliJ IDEA EAP and Kotlin compiler. In addition to those new features, we have a lot fixes for Unity3D, Android-NDK, Clang, Visual Studio Code and Intellij-based IDEs as the server counter-part changed. The usual polish and a bunch of additional smaller incremental improvements joined the party as well! If you are interested into the nifty details, you can head over the change log.

If you can't wait to try it, grab this latest version direcly through its ppa for the 14.04 LTS, 15.10 ubuntu and xenial releases. This release wouldn't have been possible without our awesome contributors community, thanks to them again!

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

jeudi, février 11 2016

Ubuntu Make 16.02 brings Nodejs, Lighttable IDE, Spring Tools Suite and JetBrains' Datagrip

What a great Ubuntu Make release today! The best is that all of those new supports (Nodejs, Lighttable IDE, Spring Tools Suite and JeBrains' Datagrip) are all brought thanks to our awesome Ubuntu Make community!

Galileo Sartor brought a lot of goodness in previous releases, but he didn't stop there! In addition to starting reviewing other branches, he brought the nodejs and Lighttable support with extensive testsuites!

node.png

I'm sure a lot of developer will appreciate those new frameworks. In addition to that, I'm happy to announce that Galileo has now gained commit access to the project itself! This reflects his ability to quickly dive into the deep layers of the projects and very great skills and questioning when it's needed! Welcome and well done Galileo. \o/

lighttable.png

He also implemented symlink creation in a shared bin/ directory added to user's path. This means that you will be able starting from now on to run directly from the command like "android-studio" and others UI tools when there is a desktop file associated. This is only for newly installed frameworks with Ubuntu make 16.02 and onwards.

Patricio Pérez is a newcomer to the Ubuntu Make contributor family, he jumped on bringing to us excellent Spring Tools Suite support, a customized all-in-one Eclipse based distribution that makes application development easy.

Finally, Omer Sheikh, a good well-known returning contributor, extended the JetBrains support adding the Datagrip IDE that is tailored to suit specific needs of professional SQL developers and DBAs.

datagrip.jpg

You will note that we released as well 16.02.1. We needed to fix Visual Studio Code which changed its website, and thanks to a lot of excellent discussions and research from the community, we were able to publish this fix quickly! It's excellent to see both the Ubuntu Make's contributor growing and the code itself, with an excellent meritocracy spirit, based on collaborations!

As usual, you can get this latest version direcly through its ppa for the 14.04 LTS and 15.10 ubuntu releases. Xenial version is available directly in the xenial ubuntu archive. This wouldn't be possible without our awesome contributors community, thanks to them again!

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

jeudi, janvier 28 2016

Ubuntu Make 16.01.2 with Swift, eclipse php and eclipse cpp support

Last week, during UbuCon Summit, I had the pleasure to announce in sunny Pasadena a new Ubuntu Make release! Marking the 16.01.2 milestone, this one provides thanks to community contributions 3 new supported frameworks.

The first one is the new Apple's opensource language name Swift lang. A lot of people are becoming more and more excited about it, and now, getting it running on Ubuntu is just a umake swift away!

C

A big thank to Galileo Sartor for bringing this support! But as any awesome community story, he didn't stop here and also implemented Eclipse php and Eclipse cpp support with this new release!

eclipsecpp.png

Evan McIntire also implemented (as part of Google Code In) man pages that are generated directly from the --help. Now, you can get always up to date manpage help as part of our release!

The video of my talk on Ubuntu Make should be shortly be online as per of Scale/Ubucon talks. Watch this space out! Meanwhile, you can find the slides here.

As usual, you can get this latest version direcly through its ppa for the 14.04 LTS, 15.04 and 15.10 ubuntu releases. Xenial version is available directly in the xenial ubuntu archive. This wouldn't be possible withoutl our awesome contributors community, thanks to them again!

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

mardi, novembre 24 2015

JetBrains CLion and Twine game editor support in Ubuntu Make 15.11.2

It's already time for a third release of Ubuntu Make this month! Thanks to the help of existing and new contributors, here are what's noticeable on this release.

JetBrains' excellent C/C++ IDE named CLion is now available! A simple umake ide clion will get it you at your disposal!

clion.png

The non linear game editor Twine (that our community team is using as well for other QA purposes) also entered this release and is just a umake games twine away!

twine.png

Our ZSH users will be pleased to know that the advanced shell completion that we have in bash is now available to them. We refreshed and fixed some translations, especially in russian, portuguese and french for this release. A lot of opportunities in term of translations are available! Do not hesitate to jump in. :)

A bunch of work on tests and the testing infrastructure (cutting the testing time approximately by half!) have been done. Speaking of tests, we spotted and fixed the upstream renamed icon in Visual Studio Code thanks to one of them failing (nice to be at that level of quality granularity)! We also worked on ensuring that people using our PPA with previous ubuntu releases only download the minimal requirements and not our testing dependency (by shifting to another ppa only containing them). Of course, the contributor guide has been updated for matching all of this.

You will thus understand that we got a lot of other small fixes and enhancements with this new package. If you want to read the full and detailed list of what's in this release, please have a read here!

As usual, you can get this latest version direcly through its ppa for the 14.04 LTS, 15.04 and 15.10 ubuntu releases. Xenial version is available directly in the xenial ubuntu archive. This wouldn't be possible withoutl our awesome contributors community, thanks to them again!

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

jeudi, septembre 10 2015

Ubuntu Make 15.09.2 enables you to install Android SDK only.

I'm proud to announce this new Ubuntu Make release, with excellent new feature and fixes from our community.

First, welcome Sebastian Schubert to the Ubuntu Make contributor family. He did some awesome work on implementing Android SDK only support (for those not wanting to install the whole Android Studio bundle) in Ubuntu Make! As usual, this is backed up with large and medium tests to cover us, great enhancement! :)

The new option to install android sdk is:

$ umake android android-sdk

You will get into your user PATH (after next login) the expected android platform tools.

Secondly, Omer Sheikh, who already implemented language selection in firefox developer edition, came back with some heavy duty of rationalizing every exit codes accross Ubuntu Make, to ensure we always exit with the expected error code in every situation. Not only he implemented this, but also he did grow our testsuite to ensure that any bad download page are properly detected! Awesome work.

Smaller fixes sneaked in as well and you can get the full release content details here. As usual, you can get this latest version direcly through its ppa for the 14.04 LTS, 15.05 and wily ubuntu releases.

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

mardi, septembre 1 2015

Ubuntu Make 15.09 featuring experimental Unity 3D editor support

Last thurday, the Unity 3D team announced providing some experimental build of Unity editor to Linux.

This was quite an exciting news, especially for me as a personal Unity 3D user. Perfect opportunity to implements this install support in Ubuntu Make, and this is now available for download! The "experimental" comes from the fact that it's experimental upstream as well, there is only one version out (and so, no download section when we'll always fetch latest) and no checksum support. We talked about it on upstream's IRC channel and will work with them on this in the future.

Unity3D editor on Ubuntu!

Of course, all things is, as usual, backed up with tests to ensure we spot any issue.

Speaking of tests, this release as well fix Arduino download support which broke due to upstream versioning scheme changes. This is where our heavy tests investment really shines as we could spot it before getting any bug reports on this!

Various more technical "under the wood" changes went in as well, to make contributors' life easier. We got recently even more excellent contributions (it's starting to be hard for me to keep up with them to be honest due to the load!), more on that next week with nice incoming goodies which are cooking up.

The whole release details are available here. As usual, you can get this latest version direcly through its ppa for the 14.04 LTS, 15.05 and wily ubuntu releases.

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

jeudi, août 13 2015

Ubuntu Make 15.08 with Scala support and a visual studio code hot fix community story

Here is a little bit of the start of my day:

As usual, I open the Ubuntu Make large test suite running continuously against trunk and latest release package. I saw that since yesterday 7PM CEST Visual Studio Code page changed its syntax and is not downloadable anymore by Ubuntu Make.

Jumping on the github's project page, I saw a couple of bugs opened about it, and as well a pull request to fix this from a new contributor, Vartan Simonian! All this in less than 12 hours of this breakage. I just had to merge it, changing the medium tests and cut a release. Hey community work!

That made my day, it was thus high time to release this new Ubuntu Make 15.08. Notice that we are starting to follow the scheme "YY.MM" which is quite handy for versioning this kind of continously evolving projects.

Scala logo In addition to this fix, you will notice that Igor Vuk added scala support. Your always fresh-willingness of scala will now be satisfied through Ubuntu Make!

Some other fixes (progress bar out of range by Anton Antonov, new pep8 release issues found) are also part to make this a great release… And we have even more in the pipe! Thanks again to all our Ubuntu Make contributors, this makes working on this project an awesome journey!

As usual, you can get this latest version direcly in Ubuntu Wily, and through its ppa for the 14.04 LTS, 15.05 ubuntu releases.

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

mardi, août 4 2015

Ubuntu Make 0.9.2 hot from the builders, with Firefox Developer Edition language support

Ubuntu Make 0.9.2 has just been released and features language support in our Firefox Developer Edition installation!

Thanks to our new awesome community contributor Omer Sheikh, Ubuntu Make now enables developers to install Firefox Developer Edition in their language of choice! This is all backed with our mandatory medium and large extensive testsuites. Big thanks to him for getting that through!

The installation process will ask you (listing all available languages) what is your preference for that framework:

 $ umake web firefox-dev
 Choose installation path: /home/didrocks/tools/web/firefox-dev
 Choose language: (default: en-US)
 ach/af/sq/ar/an/hy-AM/as/ast/az/eu/... fr
 Downloading and installing requirements
 100% |#########################################################################|
 Installing Firefox Dev
 |##############################################################################|
 Installation done

And here we go, with Firefox Dev Edition installed in french:

Firefox Developer Edition en français svp!

You can as well use the new --lang= option to do that in non interactive mode, like scripts.

Brian P. Sizemore joined as well the Ubuntu Make contributor crew with this release with some clarification of our readme page. Valuable contribution to all newcomers, thanks to him as well!

Some general fixes as well were delivered into this new release, full list is available in the changelog.

As usual, you can get this latest version direcly in Ubuntu Wily, and through its ppa for the 14.04 LTS, 15.05 ubuntu releases.

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! If you want to be the next featured contributor and want to give an hand, you can refer to this post with useful links!

mardi, juillet 21 2015

Arduino support and various fixes in Ubuntu Make 0.9

A warm summer has started in some part of the world and holidays: beach and enjoying various refreshements!

However, the unstoppable Ubuntu Make team wasn't on a pause and we continued making improvements thanks to the vibrant community around it!

What's new in this release? First Arduino support has been added with the vast majority of work done by Tin Tvrtković. Thanks to him for this excellent work! To be able to install arduino IDE, just run:

$ umake ide arduino

Note that your user will eventually be added to the right unix group if it was not already in. In that case, it will ask you to login back to be able to communicate with your arduino device. Then, you can enjoy the arduino IDE:

Arduino IDE

Some other hilights from this release is the deprecation of the Dart Editor framework and replacement by Dart SDK one. As of Dartlang 1.11, the Dart Editor isn't supported and bundled anymore (it still exists as an independent eclipse plugin though). We thus marked the Dart Editor framework for removal only and added this Dart SDK (adding the SDK to the user's PATH) instead. This is the new default for the Dart category.

Thanks to our extensive tests, we saw that the 32 bits of Visual Studio Code page changed and wasn't thus installable anymore. It's as fixed as of this release.

A lot of other improvements (in particular in the tests writing infra and other minor fixes) are also part of 0.9. A more detailed changelog is available here.

0.9 is already available in Wily, and through its ppa, for 14.04 LTS and 15.04 ubuntu releases! Get it while it's warmhot!

jeudi, avril 30 2015

Ubuntu Make 0.7 released with Visual Studio Code support

If you followed recent news, yesterday Microsoft announced Visual Studio Code support on stage during their Build conference. One of the nice surprise was that this new IDE, focused on web and cloud platforms, is available on Mac OS X and of course, on Linux! Some screenshots were presented at the conference with Visual Studio Code running on Ubuntu in an Unity Session.

This sounded like a nice opportunity for Ubuntu Make to shine again, and we just added this new support! And yeah, it's a snappy feeling to get it delivered as fast! This release of course brings as well the required non regression large and medium tests to ensure we can track that the installation is working as expected as time pass by and detect any server-side or client-side regression.

To install it, just run:

$ umake web visual-studio-code

Here is the required screenshot of a fresh Visual Studio Code installation with Ubuntu Make!

Visual Studio Code

You can get Ubuntu Make 0.7 through its ppa, for the 14.04 LTS, 14.10 and 15.05 ubuntu releases.

Our issue tracker is full of ideas and opportunities, and pull requests remain opened for any issues or suggestions! For all the various form of contributions and how to give an hand, you can refer to this post!

mercredi, février 18 2015

Ubuntu Make community releases 0.6 with 5 new supported platforms

What always inspires me in my work is that community participation is at heart of what we are doing, and that’s what help us waking up everyday. Anybody can dive and fix small typos, bugs, or even bring big features to the table! This is exactly what happened with this new Ubuntu Make 0.6 release, entirely backed by community participation!

In addition to zsh support, you will find 5 new jetbrains IDE supported into the “ide” Ubuntu Make category, which are: RubyMine, PyCharm educational edition, PyCharm professional, WebStorm and PhpStorm! Those new ones align nicely and complete the already supported 10 platforms in Ubuntu Make, totalising thus (if I can do maths) 15 of them! Remember we started the vivid cycle with only one platform supported as it was about building solid foundations and helpers in the tool so that such contributions can exist. :) I guess there has never been a better time to be a developer using Ubuntu as their OS!

I was delighted to see such big contributions being posted as a pull requests by Anton Antonov without much more to do afterwards than slight adjustments. This testified that the overall frameworks (and tests infra as well) is easy enough to grock and that’s a huge source of satisfaction for us! I was even more excited to see that another community member who did a lot of work on Ubuntu Make (Tin Tvrtković) helped on the review and gave great advice!

Great work team! That’s the kind of things that made my day. All those niceties and excellent contributions are available as of now in Ubuntu Make 0.6 in Vivid, as well, through its ppa, to 14.04 LTS and 14.10 ubuntu releases.

Maybe you can be the next awesome contributor? Our issue tracker is full of ideas and opportunities, and pull requests remains opened for any issues or suggestions! For all the various form of contributions and how to give an hand, you can refer to this post!

jeudi, février 12 2015

Ubuntu Make 0.5 adds four new platforms

Hot from the builders, we just cut a big release of Ubuntu Make 0.5 bringing fresh new support to a bunch of IDEs and programming languages! Web developers will see great enhancements in this release, but other developers are not left out!

We welcome first a new “web” category which is hosting Dart support now! Dartlang fans would be able to get the editor and sdk installed, registered in the OS and added to the launcher in a simple command!

umake dart

and you are ready to go!

Firefox Developer Edition is now available as well under the same new “Web” category. Installing and getting a great environment for your web development is just a command away on Ubuntu!

The JetBrains suite got its Idea Ultimate edition support thanks to another excellent contribution from Tin Tvrtković. He already fixed other jetbrains support if you were redirected (based on location) over the ftp download.

Another request was to add Android NDK support. Your wish is now fulfilled under the Android category!

In addition to this, we merged latest translations coming from the community, thanks to all of you contributing to it! Please note that due to those new categories, there are new strings to be translated. It’s a nice way to get your first contribution to ubuntu make just awaiting for you!

Ubuntu Make 0.5 is already available in Vivid, as well, through its ppa, to 14.04 LTS and 14.10 ubuntu releases. For full details about the release are available here.

Our issue tracker and pull requests remains opened for any issues or suggestions!

jeudi, janvier 22 2015

Bringing appmenu support for java application and Ubuntu Make 0.4.1 with an Intellij IDEA fix

Today we released Ubuntu Make 0.4.1 which validates the application menu support for some java application using swing (like Intellij, Android Studio…) and fixes Intellij IDEA support.

Vertical screen estate is particularly valuable for developers, to maximize the place where you can visualize your code and not bother too much about the shell itself. Also, in complex menu structure, it can be hard to find the relevant items. Unity introduced a while back (2010!) the excellent application menu and then grows the HUD support to search through those menus. We even got recently new options for menu integration without renouncing on those principles. However, until now, some java-based IDEs didn't get default appmenu and HUD support. It was time to get that fixed with our Ubuntu Loves Developers focus!

Appmenu support in intellij IDEA

The application menu support is installed by default on Ubuntu Vivid thanks to our work with jayatana's excellent contributor Dan Jared! We did some cleaning and worked with him to get jayatana into ubuntu vivid, and then, promote it on the Ubuntu Desktop image[1]. On older releases, we pushed jayatana into the Ubuntu Make ppa and every new install through that tool will install as well this support as needed.

We also saw jetbrains changing their download page structure, making Intellij IDEA not being installable anymore. Less than 24 hours after a bug report being opened, we got this new 0.4.1 release including a fix from Intellij IDEA support contributor to Ubuntu Make, Tin Tvrtković. Big kudos to him for the prompt reaction! The tests have also been updated to reflect this new page structure.

Those nice goodies and fixes are available on ubuntu vivid (ensure you install Ubuntu Make 0.4.1), and as well, through its ppa for 14.04 LTS and 14.10 ubuntu releases. Keep in mind that you need to restart your session once jayatana has been installed to get the menu export to Unity available.

Another release demonstrating how the Ubuntu and Ubuntu Make community really work well together, get things quickly under control and shine! If you want to help out defining and contributing in making Ubuntu the best platform for developers, please head here!

Note

[1] which won't install java on the image by default, don't be scared ;)

mardi, janvier 6 2015

Ubuntu Make 0.4 starts the new year adding Go support

Ubuntu Make 0.4 has just been released and brings Go support and a new game category!

To hack using Go under Ubuntu, just open a terminal and type:

umake go

and here we "go"! This will enable developers to always install the latest Google golang version and setting up some needed environment variables for you.

We also starts thinking about game developers. Putting the code where our mouth is, we are pleased to inaugurate a new "games" section, bringing stencyl, an amazing quick and easy way to make games for multiple platforms available!

umake games stencyl

and you will be able to be creative in creating the new top seller game!

Ubuntu Make 0.4 is already available in Vivid, as well, through its ppa, to 14.04 LTS and 14.10 ubuntu releases.

If you have any idea (like a favorite IDE for go!) or some other game platforms, our issue tracker is opened for any suggestion!

On other news, the new name migration is now over with the github repository being moved under the ubuntu namespace and is now available here, waiting eagerly for your contribution!

mardi, décembre 16 2014

Ubuntu Make 0.3 brings Intellij IDEA and Pycharm support

Thanks to the continuous awesome work of Tin Tvrtković, we can now cut out a new 0.3 of Ubuntu Make (ex Ubuntu Developer Tools Center).

This one features 2 new great IDEs (under the ide category): Intellij IDEA and Pycharm, in their respective community editions. We want to thank as well the JetBrains team to have kindly provided checksums for their downloading assets so that Ubuntu Make can check the download integrity.

Of course, all those are backed up by tests (and this release needed some test fixes). We could as well detect thanks to those tests that Android Studio 1.0 was downloaded over http and switch that back to https.

All of this is in this new shiny 0.3 Ubuntu Make release, available in ubuntu vivid and in its ppa for older ubuntu releases!

Please note that we also moved the last piece under the new Ubuntu Make umbrella: the official github repo address is now at https://github.com/ubuntu/ubuntu-make. We have redirections from the old address to the new one, and of course, we updated the documentation, so no reason to not contribute! Seems that some test web frameworks can be arriving soon from our community…

lundi, novembre 24 2014

Ubuntu Developer Tools needs you for its new name!

We’ve been talking about the Ubuntu Developer Tools Center for a few months now. We’ve seen a lot of people testing it out & contributing and we had a good session at the Ubuntu Online Summit about what the near future holds for UDTC.

Also during that session, emerging from feedback we received we talked about how “UDTC” and “Ubuntu Developer Tools Centre” is a bit of mouthfull, and the acronym is quite easy to muddle. We agreed that we needed a new name, and that’s where we need your help.

We’re looking for a name which succinctly describes what the Developer Tools Center is all about, its values and philosophy. Specifically, that we are about developing ON Ubuntu, not just FOR Ubuntu. That we strive to ensure that the tools made available via the tools center are always in line with latest version delivered by the upstream developers. That we automate the testing and validation of this, so developers can rely on us. And that use LTS releases as our environment of choice so developers have a solid foundation on which to build. In a nutshell, a name that conveys that we love developers!

If you have a great idea for a new name please let us know by commenting on the Google+ post or by commenting on this blog post.

The final winner will be chosen by a group of Ubuntu contributors but please +1 your favorite to help us come up with a shortlist. The winner will receive the great honor of an Ubuntu T Shirt and knowing that they have changed history! We’ll close this contest by Monday 8th of December.

Now, it’s all up to you! If you want to also contribute to other parts of this ubuntu loves developers effort, you’re more than welcome!

mardi, novembre 4 2014

Just released Ubuntu Developer Tools Center 0.1.1

In a nutshell, this release is fixing the changes introduced by the new Android Studio (0.8.14) download in beta channel.

The web page changed from a md5 checksum to a sha1. We do that check as we grab that information from a secure https connexion, but then, we download from dl.google.com which isn't https enabled.

Thanks again to Tin Tvrtković who did the work to add this support and makes the necessary changes! :) I just had to do a little cleanup and then releasing it!

How did we noticed it?

Multiple source of inputs:

  • The automated tests which are running every couple of hours were both failing reliably in trunk and latest release version, on both architecture, only for android studio in the large tests (medium tests, with fake assets were fine). This clearly meant that a third-party broke us!
  • Some bug reports from the community
  • Some directly addressed emails!

It was a nice way to see that Ubuntu Developer Tools Center is quite used, even if this is through an external breakage. Thanks to all those inputs, the fix went in shortly!

On Android Studio not shipping the sdk anymore.

With this new release, Android Studio is not shipping the sdk embedded anymore and it needs to be downloaded separately. I think this is a nice move: decoupling editor code from sdk tools just makes sense.

However, in my opinion, the initial setup seems a little bit not obvious for people who just want to start android development (you have to download the sdk tools, and then, find in Android Studio where to set that path to the sdk, knowing that reopening the same window will keep you previous path only you have one sdk version installed from those sdk tools).

It seems as well that there is no way to set that up from the command line or configuration file without listing installed sdk versions, which will then not be a robust way for the ubuntu developer tools center to do it for you.

So, for now, we are following the upstream (I think they have a plan for better integration in the future) way of letting the user downloading the sdk, I will be interested in getting feedback from new users on how it went for them on that step.

Availability

0.1.1 is now available to the regular channels: - in vivid - in the ubuntu-developer-tools-center ppa for Ubuntu 14.04 LTS and 14.10.

mercredi, octobre 29 2014

Eclipse and android adt support now in Ubuntu Developer Tools Center

Eclipse and Android ADT support now in Ubuntu Developer Tools Center

Now that the excellent Ubuntu 14.10 is released, it's time to focus as part of our Ubuntu Loves Developers effort on the Ubuntu Developer Tools Center and cutting a new release, bringing numerous new exciting features and framework support!

0.1 Release main features

Eclipse support

Eclipse is now part of the Ubuntu Developer Tools Center thanks to the excellent work of Tin Tvrtković who implemented the needed bits to bring that up to our users! He worked on the test bed as well to ensure we'll never break unnoticed! That way, we'll always deliver the latest and best Eclipse story on ubuntu.

To install it, just run:

$ udtc ide eclipse

and let the system set it up for you!

eclipse.png

Android Developer Tools support (with eclipse)

The first release introduced the Android Studio (beta) support, which is the default in UDTC for the Android category. In addition to that, we now complete the support in bringing ADT Eclipse support with this release.

eclipse-adt.png

It can be simply installed with:

$ udtc android eclipse-adt

Accept the SDK license like in the android studio case and be done! Note that from now on as suggested by a contributor, with both Android Studio and Eclipse ADT, we add the android tools like adb, fastboot, ddms to the user PATH.

Ubuntu is now a truly first-class citizen for Android application developers as their platform of choice!

Removing installed platform

As per a feature request on the ubuntu developer tools center issue tracker, it's now really easy to remove any installed platform. Just enter the same command than for installing, and append --remove. For instance:

$ udtc android eclipse-adt --remove
Removing Eclipse ADT
Suppression done

Enabling local frameworks

As requested as well on the issue tracker, users can now provide their own local frameworks, by using either UDTC_FRAMEWORKS=/path/to/directory and dropping those frameworks here, or in ~/.udtc/frameworks/.

On glorious details, duplicated categories and frameworks loading order is the following:

  1. UDTC_FRAMEWORKS content
  2. ~/.udtc/frameworks/ content
  3. System ones.

Note though that duplicate filenames aren't encouraged, but supported. This will help as well testing for large tests with a basic framework for all the install, reinstall, remove and other cases common in all BaseInstaller frameworks.

Other enhancements from the community

A lot of typo fixes have been included into that release thanks to the excellent and regular work of Igor Vuk, providing regular fixes! A big up to him :) I want to highlight as well the great contributions that we got in term of translations support. Thanks to everyone who helped providing or updating de, en_AU, en_CA, en_GB, es, eu, fr, hr, it, pl, ru, te, zh_CN, zh_HK support in udtc! We are eager to see what next language will enter into this list. Remember that the guide on how to contribute to Ubuntu Developer Tools Center is available here.

Exciting! How can I get it?

The 0.1 release is now tagged and all tests are passing (this release brings 70 new tests). It's available directly on vivid.

For 14.04 LTS and 14.10, use the ubuntu-developer-tools-center ppa where it's already available.

Contributions

As you have seen above, we really listen to our community and implement & debate anything coming through. We start as well to see great contributions that we accept and merge in. We are just waiting for yours!

If you want to discuss some ideas or want to give a hand, please refer to this blog post which explains how to contribute and help influencing our Ubuntu loves developers story! You can as well reach us on IRC on #ubuntu-desktop on freenode. We'll likely have an opened hangout soon during the upcoming Ubuntu Online Summit as well. More news in the coming days here. :)

mercredi, septembre 24 2014

Ubuntu Developer Tools Center: how do we run tests?

We are starting to see multiple awesome code contributions and suggestions on our Ubuntu Loves Developers effort and we are eagerly waiting on yours! As a consequence, the spectrum of supported tools is going to expand quickly and we need to ensure that all those different targeted developers are well supported, on multiple releases, always delivering the latest version of those environments, at anytime.

A huge task that we can only support thanks to a large suite of tests! Here are some details on what we currently have in place to achieve and ensure this level of quality.

Different kinds of tests

pep8 test

The pep8 test is there to ensure code quality and consistency checking. Tests results are trivial to interpret.

This test is running on every commit to master, on each release during package build as well as every couple of hours on jenkins.

small tests

Those are basically unit tests. They are enabling us to quickly see if we've broken anything with a change, or if the distribution itself broke us. We try to cover in particular multiple corner cases that are easy to test that way.

They are running on every commit to master, on each release during package build, every time a dependency is changed in Ubuntu thanks to autopkgtests and every couple of hours on jenkins.

large tests

Large tests are real user-based testing. We execute udtc and type in stdin various scenarios (like installing, reinstalling, removing, installing with a different path, aborting, ensuring the IDE can start…) and check that the resulting behavior is the one we are expecting.

Those tests enables us to know if something in the distribution broke us, or if a website changed its layout, the download links are modified, or if a newer version of a framework can't be launched on a particular Ubuntu version or configuration. That way, we are aware, ideally most of the time even before the user, that something is broken and can act on it.

Those tests are running every couple of hours on jenkins, using real virtual machines running an Ubuntu Desktop install.

medium tests

Finally, the medium tests are inheriting from the large tests. Thus, they are running exactly the same suite of tests, but in a Docker containerized environment, with mock and small assets, not relying on the network or any archives. This means that we ship and emulate a webserver delivering web pages to the container, pretending we are, for instance, https://developer.android.com. We then deliver fake requirements packages and mock tarballs to udtc, and running those.

Implementing a medium tests is generally really easy, for instance:

class BasicCLIInContainer(ContainerTests, test_basics_cli.BasicCLI):

"""This will test the basic cli command class inside a container"""

is enough. That means "takes all the BasicCLI large tests, and run them inside a container". All the hard work, wrapping, sshing and tests are done for you. Just simply implement your large tests and they will be able to run inside the container with this inheritance!

We added as well more complex use cases, like emulating a corrupted downloading, with a md5 checksum mismatch. We generate this controlled environment and share it using trusted containers from Docker Hub that we generate from the Ubuntu Developer Tools Center DockerFile.

Those tests are running as well every couple of hours on jenkins.

By comparing medium and large tests, as the first is in a completely controlled environment, we can decipher if we or the distribution broke us, or if a change from a third-party changing their website or requesting newer version requirements impacted us (as the failure will only occurs on the large tests and not in the medium for instance).

Running all tests, continuously!

As some of the tests can show the impact of external parts, being the distribution, or even, websites (as we parse some download links), we need to run all those tests regularly[1]. Note as well that we can experience different results on various configurations. That's why we are running all those tests every couple of hours, once using the system installed tests, and then, with the tip of master. Those are running on various virtual machines (like here, 14.04 LTS on i386 and amd64).

By comparing all this data, we know if a new commit introduced regressions, if a third-party broke and we need to fix or adapt to it. Each testsuites has a bunch of artifacts attached to be able to inspect the dependencies installed, the exact version of UDTC tested here, and ensure we don't corner ourself with subtleties like "it works in trunk, but is broken once installed".

jenkins test results

You can see on that graph that trunk has more tests (and features… just wait for some days before we tell more about them ;)) than latest released version.

As metrics are key, we collect code coverage and line metrics on each configuration to ensure we are not regressing in our target of keeping high coverage. That tracks as well various stats like number of lines of code.

Conclusion

Thanks to all this, we'll probably know even before any of you if anything is suddenly broken and put actions in place to quickly deliver a fix. With each new kind of breakage we plan to back it up with a new suite of tests to ensure we never see the same regression again.

As you can see, we are pretty hardcore on tests and believe it's the only way to keep quality and a sustainable system. With all that in place, as a developer, you should just have to enjoy your productive environment and don't have to bother of the operation system itself. We have you covered!

Ubuntu Loves Developers

As always, you can reach me on G+, #ubuntu-desktop (didrocks) on IRC (freenode), or sending any issue or even pull requests against the Ubuntu Developer Tools Center project!

Note

[1] if tests are not running regularly, you can consider them broken anyway

- page 1 de 4