From Fedora Project Wiki

No edit summary
(added features of Git 2.4.0 from the docs developer tools section of F22 release notes)
(78 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{header|docs}}
{{header|docs}}{{Docs_beat_open}}
 
[[Category:Docs Project]]
== python ==
[[Category:Draft documentation]]
 
[[Category:Documentation beats]]
The system '''python''' 2 stack has been upgraded to 2.7. For a list of changes see http://docs.python.org/dev/whatsnew/2.7.html
Git has been updated to 2.4.0 from 2.1.0 [https://bugzilla.redhat.com/show_bug.cgi?id=1217767 Ticket for Documentation of Git 2.4.0]
 
Fedora 22 has includes Git 2.4.0. Git is a very popular version control and collaboration tool. The
=== Caveat: PyCObject and warnings ===
previous version of Git was 2.1.0 in Fedora 21.
Python provides various APIs for use by C extension modules.  One of these APIs, <code>PyCObject</code>, was deprecated in Python 2.7, but there are a [https://bugzilla.redhat.com/showdependencytree.cgi?id=620842&hide_resolved=1 number of key modules that have not yet been ported to its replacement].
 
By default, deprecation warnings are ignored, so this will not cause problems.


However, if the standard warnings settings are overridden, you may see problems with these modules.  In particular, if warnings have been set to "error", it is possible to make the Python interpreter abort or even segfault when importing these modules.


If you need to enable errors-for-warnings, please also add an override so that a <code>PendingDeprecationWarning<code> is merely logged, rather than raising an exception:
== New Features: ==
<pre>
>>> import warnings
>>> warnings.simplefilter('error')
>>> warnings.simplefilter('default', PendingDeprecationWarning)
</pre>


=== python-migrate ===


'''python-migrate''' was updated to version 0.6. Support for SQLAlchemy 0.6 and Firebird database, custom templates and use of python logging are among many new features. New version also introduces some backwards incompatible changes:
'''git push --atomic'''
* <code>api.test()</code> and schema comparison functions now all accept url as first parameter and repository as second.
* python upgrade/downgrade scripts do not import migrate_engine magically, but recieve engine as the only parameter to function (eg. def <code>upgrade(migrate_engine):</code>)
* <code>Column.alter</code> does not accept <code>current_name</code> anymore, it extracts name from the old column.
For complete list of changes refer to the [http://packages.python.org/sqlalchemy-migrate/changelog.htm changelog]


New to Git in 2.4 and for Fedora is the ''atomic'' option. The '''--atomic''' option does an all - or - nothing
push update. This can be useful for automated tools. An example would be adding '''--atomic''' to the end
of a simple git push: '''git push origin --atomic''' For more information on how to do an atomic
push please visit [https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more].


== Erlang ==
'''Push to Deploy'''


New version of Erlang/OTP is available in Fedora 14.  
Introduced in Git 2.3.0 and new to Fedora is the ability to push to deploy. This feature will allow
someone to push a branch to a git server even if the branch is checked out on that server.


'''Inverted Grep'''


== gdb ==
''Inverted grep'', or ''--inverted grep'' will let you search for items that do not match the pattern you
have entered. Inverted grep will give the ability to do "everything else but" searching. For example,
if you wanted to search the git log for everything the user ''grundblom'' did that ''was not grammer'' edits
You could use the command: '''git log --all --author=grundblom --invert-grep --grep=grammer'''


'''gdb''' has been enhanced to remove the unncecssary indices from the <code>.debug</code> files, and will replace them with an index that greatly speeds up '''gdb'''.


The '''gdb''' debugger has been extended with new commands that make it easier to track down and fix excessive memory usage within programs and libraries. This functionality was created by Fedora contributor David Malcolm, and we believe it is unique to Fedora 14.
== Additional updates and enhancements: ==


 
* Ports
== GNUstep ==
* UI, Workflows, and Features
 
* Performance
This Feature offers the possibility to create GNUstep applications on Fedora. '''GNUstep''' is an open source reimplementation of Nextstep. It's provide an GUI framework base of the Objective-C programming language.
* Internal Implementation
 
* Development Support
The Objective-C programming language is part of the GNU compiler collection ('''gcc''').
For more information about Git 2.4.0, please visit the release notes at: [https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.0.txt https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.0.txt].
 
A list of applications based on GNUstep you may find at [http://gnustep.org/experience/apps.html List of GNUstep applications].
 
Detailed introduction to the GNUstep project you may find at [http://gnustep.org/information/aboutGNUstep.html GNUstep Introduction].
 
 
== perl ==
 
Notable changes in '''perl''' 5.12 include:
 
* Perl now conforms much more closely to the Unicode standard. Additionally, this release includes an upgrade to version 5.2 of the standard.
 
* New experimental APIs allow developers to extend Perl with "pluggable" keywords and syntax.
 
* Perl now has a better sense of time and will be able to keep accurate time well past the "Y2038" barrier.
 
* New syntax allows developers to specify package version numbers directly in "package" statements
 
* Perl now warns the user about the use of deprecated features by default.
 
Perl 5.12.x features numerous new features, optimizations and bugfixes.
You can find a complete list of these changes on the web at:
 
http://search.cpan.org/~jesse/perl-5.12.0/pod/perl5120delta.pod
 
Original release note: http://www.nntp.perl.org/group/perl.perl5.porters/2010/04/msg158820.html
 
== rakudo ==
 
Fedora comes with Rakudo Perl, an implementation of the Perl 6 specification based on the Parrot virtual machine, which enables developers to write new applications or port existing ones to Perl 6. To install '''rakudo''', use the '''Add/Remove Software'''  tool or run:
su -c 'yum install rakudo'
For information of command line options run:
man perl6
man rakudo
 
[[Category:Docs Project]]
[[Category:Draft documentation]]
[[Category:Documentation beats]]

Revision as of 02:30, 23 May 2015

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 25 content added by the beat writer

Git has been updated to 2.4.0 from 2.1.0 Ticket for Documentation of Git 2.4.0 Fedora 22 has includes Git 2.4.0. Git is a very popular version control and collaboration tool. The previous version of Git was 2.1.0 in Fedora 21.


New Features:

git push --atomic

New to Git in 2.4 and for Fedora is the atomic option. The --atomic option does an all - or - nothing push update. This can be useful for automated tools. An example would be adding --atomic to the end of a simple git push: git push origin --atomic For more information on how to do an atomic push please visit https://github.com/blog/1994-git-2-4-atomic-pushes-push-to-deploy-and-more.

Push to Deploy

Introduced in Git 2.3.0 and new to Fedora is the ability to push to deploy. This feature will allow someone to push a branch to a git server even if the branch is checked out on that server.

Inverted Grep

Inverted grep, or --inverted grep will let you search for items that do not match the pattern you have entered. Inverted grep will give the ability to do "everything else but" searching. For example, if you wanted to search the git log for everything the user grundblom did that was not grammer edits You could use the command: git log --all --author=grundblom --invert-grep --grep=grammer


Additional updates and enhancements:

  • Ports
  • UI, Workflows, and Features
  • Performance
  • Internal Implementation
  • Development Support

For more information about Git 2.4.0, please visit the release notes at: https://raw.github.com/git/git/master/Documentation/RelNotes/2.4.0.txt.