Post ApNfQS9urlSmCrZV7Q by [email protected] | |
More posts by [email protected] | |
Post #AnZ3aR1IOlJLbiMOcy by [email protected] | |
0 likes, 1 repeats | |
For #FreeBSD ports, I want something to remove all distfiles except the current… | |
Post #AnZ5ovTABVFm0VQt6G by [email protected] | |
0 likes, 1 repeats | |
@dvl ports-mgmt/portupgrade includes a utility portsclean, which with option &q… | |
Post #AnZAhPOJYGfoGJOpFY by [email protected] | |
0 likes, 0 repeats | |
@TomAoki there are no packages installed on this host. Thanks though. | |
Post #AnZErVWlzVY20SQX4K by [email protected] | |
0 likes, 0 repeats | |
@TomAoki there are no packages installed on this host. Thanks though. | |
Post #AnZGYLyrSiCanrYkHA by [email protected] | |
0 likes, 0 repeats | |
@dvl I’d probably use “find…exec” but that’s not very clean either | |
Post #AnZGYM7ivlI7FLhp5c by [email protected] | |
0 likes, 0 repeats | |
@pete_wright the issue is finding duplicate/old tarballs… could go by age. Th… | |
Post #AnZGtVSdPTzWHqZXCC by [email protected] | |
0 likes, 1 repeats | |
@dvl @pete_wright yeah I like to make a foo@clean snapshot that I can rollback … | |
Post #Ana8XuDy3RfwF8rQhs by [email protected] | |
0 likes, 0 repeats | |
@dvl @pete_wright ZFS rollback is the least computational cost of the choices h… | |
Post #AnhUL0EDyheMCLx8Yi by [email protected] | |
0 likes, 0 repeats | |
@dvl I believe there is no bullet proof solution to your problem. It's pret… | |
Post #AnhUL0O9Nnach8b41w by [email protected] | |
0 likes, 0 repeats | |
@piero Depending on volume (size of distfile) and frequency of use (how often a… | |
Post #AnhUrj6EgRr8d8ouIq by [email protected] | |
0 likes, 0 repeats | |
@dvl I experimented on my own machine, and the Pareto approach would boil down … | |
Post #AniOVXpLVaRkjQv4iG by [email protected] | |
0 likes, 0 repeats | |
@dvl Of course if you only care for distfiles of installed pkgs the input may b… | |
Post #AniOVY0KqjElHW3qqG by [email protected] | |
0 likes, 0 repeats | |
@piero Thanks, this is definitely not about installed ports. This is related to… | |
Post #AniQ2VqfzA3c6cpHFI by [email protected] | |
0 likes, 0 repeats | |
@piero That's interesting. I would need a current INDEX file. How long do… | |
Post #AniQPhAu2b4ptULDmK by [email protected] | |
0 likes, 0 repeats | |
@piero I get it. Compile a list of the distfiles from INDEX, then delete everyt… | |
Post #AnjA6vpzte2xl8YOYK by [email protected] | |
0 likes, 0 repeats | |
@dvl You can `make fetchindex` from the within the ports tree. | |
Post #AnjrDWkdrTOi0lRLlo by [email protected] | |
0 likes, 0 repeats | |
@piero Here's the first attempt at just the list of tarballs.warning: 6.5MB… | |
Post #AnjzWgNH6etYza9gjQ by [email protected] | |
0 likes, 0 repeats | |
@dvl Apart from speed up, this will also be save you from INDEX generation fail… | |
Post #AnjzWgUieyqlMfddKq by [email protected] | |
0 likes, 0 repeats | |
@piero It seems make index takes far less time than the other bit. It's bee… | |
Post #AnjzWgdE9Lehn3cQb2 by [email protected] | |
0 likes, 0 repeats | |
@dvl You can speed this up on next run by leaving a touch file behind, and next… | |
Post #ApNfQS9urlSmCrZV7Q by [email protected] | |
0 likes, 0 repeats | |
@piero and today, I applied the results against production.See https://news.fre… | |
Post #ApRlmqTfixUeyrfSGe by [email protected] | |
0 likes, 0 repeats | |
@dvl Glad this helped! Still, I would say that's a lot of distfiles. | |
Post #ApRltEK7yh9gfwFQMy by [email protected] | |
0 likes, 0 repeats | |
@piero It is a lot, but there's no benefit to removing the active distfiles… |