Task Description
We need to implement a layout provider which handles the logic of managing PyPi artifacts. Most of this functionality should be implemented as part of the layout provider.
The code should be located in a class called PypiLayoutProvider under strongbox/strongbox-storage/strongbox-storage-layout-providers/strongbox-storage-pypi-layout-provider/src/main/java/org/carlspring/strongbox/providers/layout.
As a reference you can have a look at:
Make sure you register the User-Agent via the register() method. (As a reference you'll need to take a look at one of the layout providers listed above).
Task List
The following classes will need to be implemented:
The implementations for the analoguous classes in the strongbox-storage-npm-layout-provider could serve as an example and could be copied with minor modifications.
Useful Link
Task Relationships
This task:
See Also:
Task Description
We need to implement a layout provider which handles the logic of managing PyPi artifacts. Most of this functionality should be implemented as part of the layout provider.
The code should be located in a class called
PypiLayoutProviderunderstrongbox/strongbox-storage/strongbox-storage-layout-providers/strongbox-storage-pypi-layout-provider/src/main/java/org/carlspring/strongbox/providers/layout.As a reference you can have a look at:
Make sure you register the
User-Agentvia theregister()method. (As a reference you'll need to take a look at one of the layout providers listed above).Task List
The following classes will need to be implemented:
org.carlspring.strongbox.providers.layout.PypiFileSystemorg.carlspring.strongbox.providers.layout.PypiFileSystemProviderorg.carlspring.strongbox.providers.layout.PypiLayoutProviderisArtifactMetadata(RepositoryPath path)isMetadata(RepositoryPath path)org.carlspring.strongbox.repository.PypiRepositoryFeaturesorg.carlspring.strongbox.repository.PypiRepositoryManagementStrategyorg.carlspring.strongbox.storage.repository.PypiRepositoryFactoryThe implementations for the analoguous classes in the
strongbox-storage-npm-layout-providercould serve as an example and could be copied with minor modifications.Useful Link
pipUser-AgentTask Relationships
This task:
See Also: