0install 1.8

View: New views
6 Messages — Rating Filter:   Alert me  

0install 1.8

by Thomas Leonard-3 :: Rate this Message:

| View Threaded | Show Only this Message

0install 1.8 has been released:

 http://0install.net/injector.html


New features

- Added "Explain this decision" menu item to the Versions dialog box.
You can use this to find out why a particular version wasn't selected
(e.g. because it conflicts with something else, is marked as testing,
etc).

- Added new "POSIX" architecture that matches everything except Windows.

- SSL support: Use the "certifi" library's certificate bundles if
available (Dave Abrahams).

- Limit number of concurrent downloads from a single site. Opening a
large number of simultaneous connections causes problems for some
networks and servers.

- Added two-argument form of add-feed.


Bug fixes / improvements

- Use terminal instead of xterm, when running with quartz (Anders F Bjorklund).

- Try x-terminal-emulator first for <needs-terminal>. Reported by Dave Abrahams.

- Fixed mirror code to work on Windows. Was using os.path.join to
create URLs. Reported by Dave Abrahams.

- Fixed handling of missing local feeds (was broken in 0install 1.7).

- /dev/null => os.devnull, for portability (Dave Abrahams).

- Recognise "../" as the start of a relative path (for dependencies
between local feeds).

- Allow command_name to be None if user_command is given. "0test -t" needs this.

- More relaxed matching for distribution version numbers (Anders F Bjorklund).

- When solving for the command 'test', include use='testing'
dependencies. Previously, 0test enabled these, but that meant that
some dependencies wouldn't be included if you ran e.g. "0install
select" directly. For new feeds, it is preferable to put test
dependencies inside the <command name='test'> element instead.


Python API / code cleanups

- Added solver.solve_for() convenience method. Uses the new
Requirements object to avoid duplicating the logic for selecting the
architecture.

- Added Selection.get_path() convenience method. Using this also gives
a better error message when an implementation has no digests (reported
by Dave Abrahams).

- Better error reason "Not source code". If we were looking for source
code, we reported "Unsupported machine type" for binaries, which was
confusing. Reported by Dave Abrahams.

- Updated some old code from Policy to Driver API. The only remaining
use of Policy is now in the GUI.

- Updated .gitignore (Dave Abrahams).


--
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel@...
https://lists.sourceforge.net/lists/listinfo/zero-install-devel

Re: 0install 1.8 (translations)

by Anders F Björklund-3 :: Rate this Message:

| View Threaded | Show Only this Message

Thomas Leonard wrote:

> 0install 1.8 has been released:
>
> http://0install.net/injector.html

It seems that the translations are not updated, as part of the release process ?

$ LANG=C make update-po
-e Merge: share/locale/de/LC_MESSAGES/zero-install.po: ......................................................................................
Read 1 old + 1 reference, merged 688, fuzzied 12, missing 26, obsolete 3.
-e Merge: share/locale/es/LC_MESSAGES/zero-install.po: .............................................................................................................
Read 1 old + 1 reference, merged 656, fuzzied 26, missing 44, obsolete 17.
-e Merge: share/locale/sv/LC_MESSAGES/zero-install.po: ............................................................................................................
Read 1 old + 1 reference, merged 656, fuzzied 30, missing 40, obsolete 25.

Maybe one shouldn't run with "fuzzy" as part of the normal build procedure, though.

$ LANG=C make check-po
-e Check: share/locale/de/LC_MESSAGES/zero-install.po: share/locale/de/LC_MESSAGES/zero-install.po:2218: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: In the directive number 2, the character 'w' is not a valid conversion specifier.
msgfmt: found 1 fatal error
share/locale/de/LC_MESSAGES/zero-install.po: 687 translated messages, 12 fuzzy translations, 26 untranslated messages.
-e Check: share/locale/es/LC_MESSAGES/zero-install.po: share/locale/es/LC_MESSAGES/zero-install.po: 493 translated messages, 46 fuzzy translations, 186 untranslated messages.
-e Check: share/locale/sv/LC_MESSAGES/zero-install.po: share/locale/sv/LC_MESSAGES/zero-install.po: 655 translated messages, 30 fuzzy translations, 40 untranslated messages.

But `msgmerge -U -N` should probably be run, after updating the template (xgettext).


The zero-install.pot isn't included, so translators need both gettext and intltool.

Could we host the ZI translations somewhere, like Transifex ? http://transifex.net/


--anders

PS. Attaching patch for "fatal error", have an updated Swedish translation too...




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel@...
https://lists.sourceforge.net/lists/listinfo/zero-install-devel

0002-Fix-broken-msgstr-syntax.patch (1K) Download Attachment

Re: 0install 1.8 (translations)

by Thomas Leonard-3 :: Rate this Message:

| View Threaded | Show Only this Message

On 20 May 2012 15:26, Anders F Björklund <afb@...> wrote:
> Thomas Leonard wrote:
>
>> 0install 1.8 has been released:
>>
>> http://0install.net/injector.html
>
> It seems that the translations are not updated, as part of the release process ?

Correct. I thought it would just create unnecessary changes in the history.

> $ LANG=C make check-po
> -e Check: share/locale/de/LC_MESSAGES/zero-install.po: share/locale/de/LC_MESSAGES/zero-install.po:2218: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: In the directive number 2, the character 'w' is not a valid conversion specifier.

> The zero-install.pot isn't included, so translators need both gettext and intltool.
>
> Could we host the ZI translations somewhere, like Transifex ? http://transifex.net/

Sure. Do you want to set it up?

> PS. Attaching patch for "fatal error", have an updated Swedish translation too...

I've applied the fix. Any updated translations are very welcome too...

Thanks,


--
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel@...
https://lists.sourceforge.net/lists/listinfo/zero-install-devel

Re: 0install 1.8 (translations)

by Anders F Björklund-3 :: Rate this Message:

| View Threaded | Show Only this Message

Thomas Leonard wrote:

>> It seems that the translations are not updated, as part of the release process ?
>
> Correct. I thought it would just create unnecessary changes in the history.

That it does, but I suppose it's not too bad if only done at release time ?

Mostly it's about updating the line numbers, given as comments in the .po...

>> The zero-install.pot isn't included, so translators need both gettext and intltool.
>>
>> Could we host the ZI translations somewhere, like Transifex ? http://transifex.net/
>
> Sure. Do you want to set it up?

Here goes: https://www.transifex.net/projects/p/zeroinstall-injector/

Supposedly one can also download the translations in an orderly fashion.

--anders



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel@...
https://lists.sourceforge.net/lists/listinfo/zero-install-devel

Re: 0install 1.8 (translations)

by Anders F Björklund-3 :: Rate this Message:

| View Threaded | Show Only this Message

Thomas Leonard wrote:

>> PS. Attaching patch for "fatal error", have an updated Swedish translation too...
>
> I've applied the fix. Any updated translations are very welcome too...

Hmm, seems like the .pot file generation is still not deterministic.
Seems to reorder both files and translations, leading to big diffs ?

Maybe it should be added to the repository ? (and not in .gitignore)

And unfortunately there was no way to set up the translation project
to automatically fetch the template, without an existing URL for it...

http://repo.or.cz/w/zeroinstall.git/blob/HEAD:/share/locale/zero-install.pot

--anders


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel@...
https://lists.sourceforge.net/lists/listinfo/zero-install-devel

Re: 0install 1.8 (translations)

by Thomas Leonard-3 :: Rate this Message:

| View Threaded | Show Only this Message

On 20 May 2012 16:52, Anders F Björklund <afb@...> wrote:

> Thomas Leonard wrote:
>
>>> It seems that the translations are not updated, as part of the release process ?
>>
>> Correct. I thought it would just create unnecessary changes in the history.
>
> That it does, but I suppose it's not too bad if only done at release time ?
>
> Mostly it's about updating the line numbers, given as comments in the .po...
>
>>> The zero-install.pot isn't included, so translators need both gettext and intltool.
>>>
>>> Could we host the ZI translations somewhere, like Transifex ? http://transifex.net/
>>
>> Sure. Do you want to set it up?
>
> Here goes: https://www.transifex.net/projects/p/zeroinstall-injector/

Great! I've added links from the web-site, e.g.

http://0install.net/get-involved.html#id4405703

> Supposedly one can also download the translations in an orderly fashion.

Sounds good.


--
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Zero-install-devel mailing list
Zero-install-devel@...
https://lists.sourceforge.net/lists/listinfo/zero-install-devel