Re: Collectstatic verbosity, again

2020-12-13 Thread Jure Erznožnik
I'd just like to mention that ManifestStaticFilesStorage doesn't output 
one line. It will output a line for every file, even if file with that 
hash already exists. This is without the clear flag.


I hope it's relevant to the discussion: seems different storages 
implement output separately.


LP,
Jure

On 12. 12. 20 11:45, Fran Hrženjak wrote:
I would love to get only one line of output when running 
`collectstatic` command with `-v1`. This is actually so, except when 
using `--clear` option. With it I still get hundreds of lines of 
output similar to:


Deleting 'admin/img/icon-calendar.svg'

There seemed to be a consensus about this, but I guess that the 
`--clear` option went unnoticed?

https://code.djangoproject.com/ticket/28973
https://code.djangoproject.com/ticket/29464

I'd like to change this output level to 2:
https://github.com/django/django/blob/master/django/contrib/staticfiles/management/commands/collectstatic.py#L228-L230

Any reasons against?

--
You received this message because you are subscribed to the Google 
Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-developers+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ecc96304-8b62-498b-bb04-54769997c0fcn%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups "Django 
developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/397db989-ae4a-b168-628e-2e714aca5864%40gmail.com.


Collectstatic verbosity, again

2020-12-12 Thread Fran Hrženjak
I would love to get only one line of output when running `collectstatic` 
command with `-v1`. This is actually so, except when using `--clear` 
option. With it I still get hundreds of lines of output similar to:

Deleting 'admin/img/icon-calendar.svg'

There seemed to be a consensus about this, but I guess that the `--clear` 
option went unnoticed?
https://code.djangoproject.com/ticket/28973
https://code.djangoproject.com/ticket/29464

I'd like to change this output level to 2:
https://github.com/django/django/blob/master/django/contrib/staticfiles/management/commands/collectstatic.py#L228-L230

Any reasons against?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ecc96304-8b62-498b-bb04-54769997c0fcn%40googlegroups.com.