Artifactory - NuGet - Max Unique Snapshots

Kamil W

I created nuget local repository on my Artifactory, and set Max Unique Snapshots option to 10. However artifactory won't delete old packages.

dotnet-snapshots/
├── sompackage/
│   ├── 1.0.0-build1
|   |   ├── somepackage.1.0.0-build1.nupkg
|   ├── 1.0.0-build2
|   |   ├── somepackage.1.0.0-build2.nupkg
│   ├── ...
|   ├── 1.0.0-build25
|   |   ├── somepackage.1.0.0-build25.nupkg

Where problem can be ? I think it is something with package naming.

jroquelaure

It might be related to the layout used by your repository. FYI Artifactory is using this layout to extract some metadata such as the base revision, integration revision (snapshots), module name,...

By default a nuget repository uses the "nuget-default" layout defined like this : "[orgPath]/[module]/[module].baseRev.nupkg"

but in your case you are deploying your nuget packages as if the layout were : "[orgPath]/[module]/baseRev/[module].baseRev.nupkg"

so what you can do is :

re order you repository to match the layout OR create a custom layout that match your deployment path

also when you edit/create a layout you can test it with an existing artifacts to chck Artifactory is extracting what you expect from the deployment path.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Artifactory not deleting Unique Snapshots

From Dev

SBT cannot find snapshots in an Artifactory maven repository

From Dev

Artifactory restore nuget packages with authentication from powershell

From Dev

Unique Max in Hive

From Dev

Can PostSharp add its Nuget packages from an Artifactory source that is secured?

From Dev

Select unique barcode with max timestamp

From Dev

Select unique barcode with max timestamp

From Dev

Unique vs MAX in SQL statement

From Dev

NuGet Limit max major version of a package

From Dev

List Unique EC2 volume snapshots by querying user-defined tags

From Java

SQL select unique name based on max index

From Java

Max Number of unique substrings from a partition

From Dev

SQL - Only choose unique names by max date?

From Dev

Using nvl and max to find unique values

From Dev

SQL - Only choose unique names by max date?

From Dev

Using nvl and max to find unique values

From Dev

How to calculate max and min for each unique entry

From Dev

Select max date rows for unique key

From Dev

mysql select max value of unique items

From Dev

Snapshots of btrfs

From Dev

retrieve unique ID from aggregate function MAX/GROUP BY

From Java

Get rows of max values for unique value in other column: python

From Dev

date histogram of the max of the sum of a field across unique hosts

From Dev

Access query to pull records that are max of one record but unique of another

From Dev

get both unique count and max in group-by of pandas dataframe

From Dev

how to get the unique records with min and max for each user

From Dev

Access query to pull records that are max of one record but unique of another

From Dev

how to get the unique records with min and max for each user

From Dev

How to group by max date with un-unique field

Related Related

  1. 1

    Artifactory not deleting Unique Snapshots

  2. 2

    SBT cannot find snapshots in an Artifactory maven repository

  3. 3

    Artifactory restore nuget packages with authentication from powershell

  4. 4

    Unique Max in Hive

  5. 5

    Can PostSharp add its Nuget packages from an Artifactory source that is secured?

  6. 6

    Select unique barcode with max timestamp

  7. 7

    Select unique barcode with max timestamp

  8. 8

    Unique vs MAX in SQL statement

  9. 9

    NuGet Limit max major version of a package

  10. 10

    List Unique EC2 volume snapshots by querying user-defined tags

  11. 11

    SQL select unique name based on max index

  12. 12

    Max Number of unique substrings from a partition

  13. 13

    SQL - Only choose unique names by max date?

  14. 14

    Using nvl and max to find unique values

  15. 15

    SQL - Only choose unique names by max date?

  16. 16

    Using nvl and max to find unique values

  17. 17

    How to calculate max and min for each unique entry

  18. 18

    Select max date rows for unique key

  19. 19

    mysql select max value of unique items

  20. 20

    Snapshots of btrfs

  21. 21

    retrieve unique ID from aggregate function MAX/GROUP BY

  22. 22

    Get rows of max values for unique value in other column: python

  23. 23

    date histogram of the max of the sum of a field across unique hosts

  24. 24

    Access query to pull records that are max of one record but unique of another

  25. 25

    get both unique count and max in group-by of pandas dataframe

  26. 26

    how to get the unique records with min and max for each user

  27. 27

    Access query to pull records that are max of one record but unique of another

  28. 28

    how to get the unique records with min and max for each user

  29. 29

    How to group by max date with un-unique field

HotTag

Archive