Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting when showing a repo #214

Closed
nremond opened this issue Mar 5, 2015 · 1 comment
Closed

Sorting when showing a repo #214

nremond opened this issue Mar 5, 2015 · 1 comment
Labels

Comments

@nremond
Copy link

nremond commented Mar 5, 2015

Hi,

If I execute repo show -with-packages nicolas_prod, I get :

root@utility01:~# sudo -u aptly -H  aptly repo show -with-packages nico_prod 
Name: in-and-win_prod
Comment: 
Default Distribution: trusty
Default Component: main
Number of packages: 65
Packages:
  dummy_0.1_all
  nico-backend_0.1.100.ffd6a26f0699_all
  nico-backend_0.1.101.d7eb6f3041d4_all
  nico-backend_0.1.102.d13fea606fd8_all
  nico-backend_0.1.103.9f9e3ec3faf4_all
  nico-backend_0.1.104.8dad8d3ec97b_all
  nico-backend_0.1.105.ccb4f152cdf6_all
  nico-backend_0.1.106.39728900891f_all
  nico-backend_0.1.107.410feed72f5b_all
  nico-backend_0.1.108.cdfbe54be6e1_all
  nico-backend_0.1.109.c2e3718e0a21_all
  nico-backend_0.1.110.cec424a5631e_all
  nico-backend_0.1.111.eb25eaaf9cd6_all
  nico-backend_0.1.113.3ae18d8439d8_all
  nico-backend_0.1.114.3ae18d8439d8_all
  nico-backend_0.1.115.3ae18d8439d8_all
  nico-backend_0.1.116.3ae18d8439d8_all
  nico-backend_0.1.117.3ae18d8439d8_all
  nico-backend_0.1.118.3ae18d8439d8_all
  nico-backend_0.1.119.53825fcd2988_all
  nico-backend_0.1.120.fb58ccd17485_all
  nico-backend_0.1.121.96a6888b3c49_all
  nico-backend_0.1.122.dc40980b1de5_all
  nico-backend_0.1.123.cf0a0f1ca3e6_all
  nico-backend_0.1.124.2adcb1ea4f25_all
  nico-backend_0.1.125.2adcb1ea4f25_all
  nico-backend_0.1.126.2e88e52178d2_all
  nico-backend_0.1.127.7fb866bc7812_all
  nico-backend_0.1.128.364eefc339ee_all
  nico-backend_0.1.129.ba7c18620d37_all
  nico-backend_0.1.130.8addf6cd3a87_all
  nico-backend_0.1.131.772d0335edb6_all
  nico-backend_0.1.132.772d0335edb6_all
  nico-backend_0.1.136.4499c5d7b49f_all
  nico-backend_0.1.137.e40dd32270ed_all
  nico-backend_0.1.138.30efb3f36841_all
  nico-backend_0.1.139.256034693ed8_all
  nico-backend_0.1.140.c392f831b899_all
  nico-backend_0.1.141.3b6976461f3e_all
  nico-backend_0.1.74.398262ae3279_all
  nico-backend_0.1.75.96a2eaf38eeb_all
  nico-backend_0.1.76.e0c837a107cb_all
  nico-backend_0.1.77.ec22d9ed5a9b_all
  nico-backend_0.1.78.7b989986ef75_all
  nico-backend_0.1.79.dd001b7639ae_all
  nico-backend_0.1.80.a3df957b3dbd_all
  nico-backend_0.1.81.27780bfecf69_all
  nico-backend_0.1.82.95ee46eb95c9_all
  nico-backend_0.1.83.f381a9a1f26b_all
  nico-backend_0.1.84.27cc97f4519b_all
  nico-backend_0.1.85.f90cc7e34b9d_all
  nico-backend_0.1.86.9a11ae3934af_all
  nico-backend_0.1.87.071065842321_all
  nico-backend_0.1.88.55750e6d4c8f_all
  nico-backend_0.1.89.358aff21fed7_all
  nico-backend_0.1.90.8b39a8687de1_all
  nico-backend_0.1.91.cd0d7af2c396_all
  nico-backend_0.1.92.b1d70d8bb711_all
  nico-backend_0.1.93.7eac3ad0c01a_all
  nico-backend_0.1.94.72d587a1fba4_all
  nico-backend_0.1.95.fd2fb31ea5e0_all
  nico-backend_0.1.96.149ad968e730_all
  nico-backend_0.1.97.012610c47dbf_all
  nico-backend_0.1.98.88f7048552dd_all
  nico-backend_0.1.99.12742a289a6b_all

Wouldn't be better to sort the package names by version rather than by "string" ?

Using Aptly 0.9 package on Ubuntu.

@smira smira added the feature label Mar 5, 2015
@smira smira added this to the v0.9.5 milestone Mar 5, 2015
@smira
Copy link
Contributor

smira commented Mar 5, 2015

Sounds good.

@smira smira modified the milestones: v0.9.5, v0.9.6 Mar 13, 2015
@smira smira modified the milestones: v0.9.6, v0.9.7 Jan 24, 2016
@smira smira modified the milestones: v0.9.7, v0.9.8 Apr 18, 2016
@smira smira removed this from the v0.9.8 milestone Mar 27, 2017
@smira smira added 1.1.0 and removed 1.1.0-Maybe labels May 4, 2017
smira added a commit that referenced this issue May 4, 2017
smira added a commit that referenced this issue May 5, 2017
@smira smira closed this as completed in #566 May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants