Repository navigation
Shell.Commands.Safe and the spawn server have moved to a second Alire crate, ashell_safe. Programs which only use Unsafe no longer build the server. No Ada source needs to change.
The two crates
ashellholdsShell,Shell.Directories,Shell.CommandsandShell.Commands.Unsafe.ashell_safedepends onashell, and addsShell.Commands.Safeand its spawn server,ashell_spawn_server.
Both are in the Alire index. They are released together, and ashell_safe needs the ashell of the same minor version.
Upgrading
- Programs which use
Safewith Alire must also depend on the new crate:alr with ashell_safe. - Programs which use
Safewithout Alire must addsafe/librarytoGPR_PROJECT_PATH, andwith "ashell_safe";in their project file. - Programs which only use
Unsafeneed no changes. - The spawn server is now built and installed with
safe/applet/spawn_server/install_spawn_server.sh. The server itself is unchanged, so one installed from 2.0.x still works.
Changed
- The
ashellcrate no longer containsShell.Commands.Safeorashell_spawn_server. - The
Safesources are now undersafe/library, and the spawn server undersafe/applet/spawn_server.
See the changelog for earlier releases. If you are upgrading from 1.x, read the 2.0.0 notes there first.