swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.76k stars 1.35k forks source link

Disable development mode #8139

Open bkhouri opened 15 hours ago

bkhouri commented 15 hours ago

Disabled development mode in the release 6.1 branch.

Motivation:

We should never release Swift Package Manager in development mode. So this disables dev mode and brings in the functionality of 999.0 over being introduced in 6.1 (though behind a --experimental flag_

Modifications:

Modify SwiftVersion isDevelopment to false and updates the Traits proposal from being introduced in version 999.0 to 6.1.

Result:

Testing this change requires executing the tests using the swift-test executable target, since it changes the PackageDescription of the traits from being introduced in 999.0 to 6.1.

dschaefer2 commented 13 hours ago

This will not get approved until we are out of development phase or the Traits proposal gets approved. It is correctly marked 999.0 since it's a development only feature of the manifest.

bkhouri commented 11 hours ago

Understood. Once we are out of development phase, and if the Traits proposal has not been approved yet, we can revert those changes and adjust accordingly.