From owner-freebsd-current@freebsd.org Wed Nov 20 18:18:55 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06DBD1BEA82 for ; Wed, 20 Nov 2019 18:18:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47J9tk20ggz4BRr for ; Wed, 20 Nov 2019 18:18:54 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x836.google.com with SMTP id t8so551589qtc.6 for ; Wed, 20 Nov 2019 10:18:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lMcQH1rsOg2xJ6yaHzsaF89LhvA/kQAhcBRAsEiBkfg=; b=ahMO7Pu2BjaNP+sYplROwe/MfMgm8iDpb4OpyooESXSQTQlTsatwKNSKiD3HPLvCpG M3Do0da68oElh1UBDhKvneXd5mjxRwQw3rM+JQWVRp/X/yVbysdhfTmoCf7nmRbb1XWf 5s+2foiJW295xha+N6unbfPgSlK53K9TBly1Y2XHfNic2RY802/gEqgIo5/lRS3X+Toc EoYN1KVFL399GjaBQMhtV1h7gGRjiujbIAMK6yXm82g9waSGOAel6M6eIGWtgtHNSisF UY+LrOvUxEtK6FxQ+M9P+Qzx+M+nk5EPxdEVAiofvQvgtqRoisdQmy/Ii61eg+3kj0cx OybQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lMcQH1rsOg2xJ6yaHzsaF89LhvA/kQAhcBRAsEiBkfg=; b=r65dXu4UH24/rEkAgqleiP+hrVwypA3RpXv1YS2cfr2132Toztvh26umzzjSYOLmVY goQtUAu98BRVTckw5lt/kntspUWAbm4HZU5F2JZOszY8UPOt3CmVm6U1xJy9Bly2gmd3 PllC7nk1DYsq3HqDcoMdrutUWT5xMLRZnd59RQsHJjsg0vyYuWqvHB+f0GhxaABZiGEE lFT51nrJRHfOOAAuDTIqumSCmOV6SdcdXIw+9vjshtCEwp9gd+Zjo7X/wpBm37WvS0YV LFI2O+Kn8Dhdv4TctD+3M3CfFbQ8sDIcffTWJt8XUaLdKeedtKBxbnb9uDDas0pGgzyT W3cw== X-Gm-Message-State: APjAAAWq7wyMXE0+mayyj/ixpRMGI9vOdvS6AEizCMUkicTad6LHqWCQ iWrrQc0XxZzI43JJT4PBgn52jGBo/R9d8gCZR3q7e3YE X-Google-Smtp-Source: APXvYqwAyBSlKwkZFXffr+2frjFZUu0xYzR5z/PmK5JJCDNB18JKARgSDrow6x4t8G0bWzaOXnEIrsw4fWFQ4jOC1KQ= X-Received: by 2002:aed:3be9:: with SMTP id s38mr4001030qte.175.1574273932680; Wed, 20 Nov 2019 10:18:52 -0800 (PST) MIME-Version: 1.0 References: <20191120173853.GB311@www.zefox.net> In-Reply-To: <20191120173853.GB311@www.zefox.net> From: Warner Losh Date: Wed, 20 Nov 2019 11:18:41 -0700 Message-ID: Subject: Re: Reverting -current by date. To: bob prohaska Cc: FreeBSD Current X-Rspamd-Queue-Id: 47J9tk20ggz4BRr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=ahMO7Pu2; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::836) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.71 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.71)[ip: (-9.22), ipnet: 2607:f8b0::/32(-2.30), asn: 15169(-1.97), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2019 18:18:55 -0000 On Wed, Nov 20, 2019 at 10:39 AM bob prohaska wrote: > From time to time it would be handy to revert freebsd-current to > an older, well-behaved revision. > > Is there a mechanism for identifying revision numbers that > will at least compile and boot, by date? > Almost all of them will compile. Almost all of those will boot. While some build breakage sneaks through, the default assumption is that it's good. That's certainly been my experience randomly updating to -current. There's some that are more or less performant, mind you, and some that are more or less stable, it is true. But the overwhelming vast majority will compile and boot, at least for amd64. I have issues less than 1% of the time when updating to whatever is current at the moment I fancy an update. There's some hardware that gets broken from time to time, but we don't track that specifically. And non-amd64 architectures takes more care and planning as any build breakage for those platforms lasts longer, in direct proportion to how popular the platform is.... It's all in the commit logs. If you run -current you need to read them. They will also tell you almost always if you pick revision X if there was a subsequent fix that made things compile you should go with. > In my case buildworld seems to be markedly slower than, say, > six months ago. Maybe it's hardware, maybe something else. Is > there a way to pick a revision number to revert to, that's > better than merely guessing? > Study the commit logs? I know I'm harping on that, but when things go wrong, that's what I do. Also -DNO_CLEAN builds help a lot if you're worried about it not even building, though from time to time you run into issues with a NO_CLEAN build due to a recent commit that wasn't appreciated at the time of the commit, but was later and fixed. Warner