Re: The website is not building correctly (git pull stalled)

Cyril Brulebois <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Organization Debian
Message-ID <[email protected]>
Hi,

Laura Arjona Reina <[email protected]> (2019-04-04):
> El 4/4/19 a las 19:54, Boyuan Yang escribió:
> > Is there any possibility that we do a "git reset --hard HEAD; git
> > clean -xdf" before actually "git pull"?
> > 
> 
> My git skills are not enough to know if this could have unintended
> consequences in www-master.debian.org, or if it would penalise the
> build time. I tend to think that if a normal "git pull" fails, we'd
> like to have a look at where is the issue, as in this case.
> 
> In any case, I have created a merge request with your suggestions as
> addition to the 2git script in our cron repo:
> 
> https://salsa.debian.org/webmaster-team/cron/merge_requests/3
> 
> I hope others can merge or comment on that.

The first command is similar to “git checkout -f” → forgetting about
all local changes; the second command is basically about removing all
untracked files, meaning killing all generated files.

This would make sure there are no leftovers, ever. Or let us detect
issues (like some that I reported a few weeks ago) that could be
hidden if a build had happened previously. But the build time
penalties don't seem worth it?


Cheers,
-- 
Cyril Brulebois ([email protected])            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAlymhnEACgkQ/5FK8MKz
VSAUGRAAoUIeiM9g+X+PR5/oJjAI15qwVsWKMnX2/ORjDGGYWYy1lM8c1sUiAY+z
/cPRlXMFIob02L3d/FF/LL7e6mpYU9udZfnCcMxcPZkyxMLto8FlKggQJRQfM/sO
4rUcw45WR3h+DcjvQd9EXVADiO13m+KxNhBz1gy4T2pF8HBB+BbDVJScjT7i9744
WVqd52hz8g3qEEi3dEicIkD4xp52KV3nQLgZW7Y2oXhap1uHBVBC+phjZT0JQlHs
ufsXjkhpW7b2x6LnQ/6Cxv/L51zbJU9XX+4O/FKTxbzu0oJoZBVfgSOefV1LbOva
f1TXPZuyMZZOf1CyEzOQRLJiV9vYjqXPTQ3yOyoZvoG+TfuG5zcZwtfghU+AheFE
fpbRKp1o+Xvzhzl5PbIxvPQfL1wBJWo8uix2KHsEF10tv9bX8vftFG+qnMbyoOv8
5yXYPuOoWJ5uJG0YNlKeDQNB+5ltFAOASSyAC1PBvV8rT/KBYbFA9QTUOACjzYdf
gihJo8cmfvqT2NgolAQizg3LzAElKAqcKYfaTgY4Dwaz7pj1fVdyKsgvGhgBef3j
kt6Nok/4PF8nGqW+yofwo5/yH3r5MK2H2J2j2+0BDOEEwiWudOyRUR6nzx02KlQs
TCOP740rE3S5WmUsIc9DHRhRw7u+apx3Cc3SrRCaFdM47+ErrX4=
=Mqhc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.