Open-source News

New NVIDIA Open-Source Linux Kernel Graphics Driver Appears

Phoronix - Fri, 04/08/2022 - 21:35
Appearing with NVIDIA's latest Linux4Tegra code drop is a new open-source kernel graphics driver not previously published. This driver isn't based on the existing Nouveau driver but rather appears to be derived from their internal driver code-base with some copyright references going back to 90's...

Intel Xeon Platinum 8380 "Ice Lake" Linux Performance One Year After Launch

Phoronix - Fri, 04/08/2022 - 19:34
This week marks one year since Intel formally introduced their Xeon Scalable "Ice Lake" processors led by the flagship Xeon Platinum 8380. Given the occasion, here are benchmarks looking at the Linux performance at-launch across CentOS, Clear Linux, and Ubuntu and then again against those latest Linux distributions in their current state now for seeing how the Linux performance has evolved over the past year.

Fedora 37 Considering Removal Of Legacy X.Org Drivers

Phoronix - Fri, 04/08/2022 - 18:30
Adding to the interesting changes being worked on for Fedora 37 due out later this year is the removal of legacy X.Org drivers. Fedora is looking at removing the legacy graphics driver paths that are incompatible with running Wayland...

OpenSSH 9.0 Released With Hardening Against Future Quantum Computers

Phoronix - Fri, 04/08/2022 - 18:04
OpenSSH 9.0 is available today as the latest version of this widely-used, open-source SSH implementation. With OpenSSH 9.0 comes new features as well as changes like scp using the SFTP protocol by default...

Raspberry Pi OS Adds Experimental Wayland Support

Phoronix - Fri, 04/08/2022 - 17:42
The Raspberry Pi Foundation on Thursday introduced an updated version of its Raspberry Pi OS operating system derived from Debian Bullseye...

Aquacomputer OCTO Fan Controller To Be Supported By Linux 5.19

Phoronix - Fri, 04/08/2022 - 17:25
Mainlined into the Linux kernel last year was the Aquacomputer HWMON driver initially for their D5 Next water cooling pump. That driver was then extended to support the Aquacomputer Farbwerk 360 RGB controller and now for Linux 5.19 is extended to also support Aquacomputer's OCTO fan controller...

FreeBSD 13.1-RC2 Released With More Fixes

Phoronix - Fri, 04/08/2022 - 16:46
Building off last week's FreeBSD 13.1 release candidate, a second release candidate has been issued ahead of this incremental FreeBSD operating system update due to be formally released before month's end...

Peek inside your Git repo with rev-parse

opensource.com - Fri, 04/08/2022 - 15:00
Peek inside your Git repo with rev-parse Seth Kenlon Fri, 04/08/2022 - 03:00 Up Register or Login to like.

I use Git a lot. In fact, there's probably an argument that I sometimes misuse it. I use Git to power a flat-file CMS, a website, and even my personal calendar.

To misuse Git, I write a lot of Git hooks. One of my favorite Git subcommands is rev-parse, because when you're scripting with Git, you need information about your Git repository just as often as you need information from it.

More on Git What is Git? Git cheat sheet Markdown cheat sheet New Git articles Getting the top-level directory

For Git, there are no directories farther back than its own top-level folder. That's in part what makes it possible to move a Git directory from, say, your computer to a thumb drive or a server with no loss of functionality.

Git is only aware of the directory containing a hidden .git directory and any tracked folders below that. The --show-toplevel option displays the root directory of your current Git repository. This is the place where it all starts, at least for Git.

Here's an obvious example of how you might use it:

$ cd ~/example.git
$ git rev-parse --show-toplevel
/home/seth/example.git

It becomes more useful when you're farther in your Git repo. No matter where you roam within a repo, rev-parse --show-toplevel always knows your root directory:

$ cd ~/example.git/foo/bar/baz
$ git rev-parse --show-toplevel
/home/seth/example.git

In a similar way, you can get a pointer to what makes that directory the top level: the hidden .git folder.

$ git rev-parse --git-dir
/home/seth/example.com/.gitFind your way home

The --show-cdup option tells you (or your script, more likely) exactly how to get to the top-level directory from your current working directory. It's a lot easier than trying to reverse engineer the output of --show-toplevel, and it's more portable than hoping a shell has pushd and popd.

$ git rev-parse --show-cdup
../../..

Interestingly, you can lie to --show-cdup, if you want to. Use the --prefix option to fake the directory you're making your inquiry from:

$ cd ~/example.git/foo/bar/baz
$ git rev-parse --prefix /home/seth/example.git/foo --show-cdup
../Current location

Should you need confirmation of where a command is being executed from, you can use the --is-inside-work-tree and --is-inside-git-dir options. These return a Boolean value based on the current working directory:

$ pwd
.git/hooks
$ git rev-parse --is-inside-git-dir
true

$ git rev-parse --is-inside-work-tree
falseGit scripts

The rev-parse subcommand is utilitarian. It's not something most people are likely to need every day. However, if you write a lot of Git hooks or use Git heavily in scripts, it may be the Git subcommand you always wanted without knowing you wanted it.

Try it out the next time you invoke Git in a script.

If you write a lot of Git hooks or use Git heavily in scripts, rev-parse may be the subcommand you always wanted without knowing you wanted it.

Git What to read next Make your own Git subcommands This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. 1 Comment Register or Login to post a comment. Image by:

Opensource.com

weent18 | April 8, 2022

Amazing a good deal of beneficial information

Red Hat’s The State of Enterprise Open Source report: Highlights from the financial services industry

Red Hat News - Fri, 04/08/2022 - 12:00

Red Hat’s fourth annual The State of Enterprise Open Source report highlights how organizations have adapted to new ways of operating — whether due to external forces or proactive choices — and are  selecting methods that provide better competitive advantage.

Silicon Labs WiFi Linux Driver To Be Promoted Out Of Staging

Phoronix - Fri, 04/08/2022 - 07:56
Added back in 2019 to the Linux staging area was the "WFX" WiFi driver for low-power IoT hardware from Silicon Labs. After three years of hard work by Silicon Labs engineers and open-source developers, this driver for the WF200 series of wireless chips is set to be promoted in the Linux 5.19 cycle...

Pages