Thanks for the detailed post mortem Carlton.

Andrew’s suggested approach to do at least a checkout to a fresh directory
makes sense to me. Even got checkout and clean aren’t enough to bring an
exisiting checkout folder to the same state as git won’t touch files in the
gitignore. Note you can do a checkout or a local repo to a different
directory, you wouldn’t need to reclone from a different remote.

Jamesie’s suggestion to use CI is also valid but a bunch more work. I guess
the main advantage is you get a blank slate container to work in, which a
fresh checkout to a temp dir provides most of the gain for less work.

That’s my two cents

On Mon, 11 Feb 2019 at 17:30, Jamesie Pic <j...@yourlabs.org> wrote:

> Hi Carlton !
>
> Seems like you're having as much fun as I had when doing releases
> manually :D Just sharing some food for thought here.
>
> Nowadays I have it automated and rely on setupmeta to keep myself away
> from touching setup.py, and just have to push git tags :
> http://github.com/zsimic/setupmeta
>
> Then a silly little script like that to publish to pypi :
> https://yourlabs.io/oss/shyml/blob/master/shyml/sh.yml
>
> All python modules on yourlabs.io/oss have this kind of setup ... of
> course you're still stuck on jenkins so I can understand it's not as
> flexible as say gitlab-ci or drone-ci, but there's probably also a
> way.
>
> Hope this helps
>
> Keep up the good work, you'll make it !
>
> Have a great day
>
> --
> ∞
>
> --
> 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 post to this group, send email to django-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CAC6Op1_rgn8BnHHS-0%2B05yMKFi5g%2Bq%2BKmHZVz1-SP-sgxY-%3D3Q%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Adam

-- 
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 post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMyDDM3EUDHDCD_97cyYL-p772Pnpry2eKPK6%3D0dvOD%3DxnOBNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to