From owner-freebsd-current@freebsd.org Sun Mar 14 20:31:02 2021 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 DB6845B1698 for ; Sun, 14 Mar 2021 20:31:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4DzB5f1rDcz4j2K for ; Sun, 14 Mar 2021 20:31:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72d.google.com with SMTP id z190so29807141qka.9 for ; Sun, 14 Mar 2021 13:31:01 -0700 (PDT) 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=YUargR98WTsAdkYI7in+JoAeXCWxZQHiR6G42nihzvk=; b=JITMeEyEXjzXdmRLHlKsl4GSeehpEUEwGgxtcT/rkEDosUJhjweUx1YksF3uNdBOFF fn3j82jbstOpWV6wJckO7ZzKpaaWStAcC0tixELK+UPg5ZrBH9dKuvYGljxMmWM86m19 T5d92ZOLL8g7SlNRcdIW/oqpWOu2PtZDd36WGWxvJHUU371iDXyMPh/MpOpzTNH7Y3Mf xC+TBLP/2RUEpHrOkddCBxFyBajrb36xxFlhAAC4xnOG+JFeMxd/LHtAJvG/v+isZqAZ yCjlhu3coXct670LKBqEJrQyBoP1uzpWLE60xh0T9X2rvC6xoLBVdRc4RQTTlgq7Qiip VCnA== 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=YUargR98WTsAdkYI7in+JoAeXCWxZQHiR6G42nihzvk=; b=oZO653OEwX6mWBI+exGzQDLMkkN/s862XtbK2ACgqWEuX43zsxKPm+chdY3cB69Ftb 4ix0amqzCXZFBPt/ZF/6Ztl2irMhAU0qqFWv+OvNz8gjqlvjnVCuOjzpcrl8+GVFnZQf jRBMHiasMYPu/yT43nCMrK2UKlQOQXap82U2eNIMJmjNilNx9S8XICN8QZNd7kPiJw3R aVBsTS5gNcX2vntyQOFj/du23fWEAv5G5eIBEjNkMQ29k9DJtCKMY0QfpBkm+knnBKFq srK15HS3aEArPd61X3Jtmp+GpJNRVCinFk/CG1N2uCEaIlVFxm/SUGwmnoqmrOs1R16C tI1w== X-Gm-Message-State: AOAM533K69QagwQLdKto9CoEUAnUJFz2maHO9ykZjNayAAq01U+uy2iK 7SDzjdFv7n7/585sFZFlTWM3aL0ku4PT0tPFYcfqbruAnSV/ig== X-Google-Smtp-Source: ABdhPJyayeHTSPayGM3NgURF8ZbFu9hTMmrjvwpqtCpLZkbI5qPBa1ZrDSVXrwkZsnkEOrlAnFqWnJG4+l2iNDvZanA= X-Received: by 2002:ae9:e010:: with SMTP id m16mr5351851qkk.44.1615753861138; Sun, 14 Mar 2021 13:31:01 -0700 (PDT) MIME-Version: 1.0 References: <202103141938.12EJclDN004900@kx.truefc.org> In-Reply-To: From: Warner Losh Date: Sun, 14 Mar 2021 14:30:50 -0600 Message-ID: Subject: Re: Is there any OS builtin git command like svnlite ? To: Kurt Jaeger Cc: KIRIYAMA Kazuhiko , FreeBSD Current X-Rspamd-Queue-Id: 4DzB5f1rDcz4j2K X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=JITMeEyE; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::72d) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::72d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::72d:from]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72d:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Sun, 14 Mar 2021 20:31:02 -0000 On Sun, Mar 14, 2021 at 2:10 PM Kurt Jaeger wrote: > Hi! > > > I'm working on clean installed VM -current from NFS > > mounted src like : > > > > admin@tbedfc:~ % df -h > > Filesystem Size Used Avail > Capacity Mounted on > > /dev/vtbd0p2 11G 4.1G > 5.7G 42% / > > devfs 1.0K 1.0K > 0B 100% /dev > > vm.tfc:/.dake 12T 843G > 11T 7% /.dake > > vm.tfc:/ds/src/freebsd/current/14.0/913e7dc3e0eb 11T 55G > 11T 0% /usr/src > > vm.tfc:/ds/obj/freebsd/current/14.0/913e7dc3e0eb 11T 322G > 11T 3% /usr/obj > > admin@tbedfc:~ % > > > > But could not display revison by uname : > > > > admin@tbedfc:~ % uname -a > > FreeBSD tbedfc 14.0-CURRENT FreeBSD 14.0-CURRENT #0: Fri Mar 12 18:16:41 > JST 2021 root@tbedfc:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > > admin@tbedfc:~ % > > > > I think this is because incapable of using git command with > > `git -C $SRCDIR rev-parse --verify --short HEAD'. In the > > first place, git command does not builtin src like svnlite. > > Is there any solution of this ? > > Not yet. There are ports that you can install with 'pkg install': > > pkg install git pkg install gitup > gitup is more like portsnap than svnlite. svnlite was the client part of subversion, basically, with the same syntax, etc. There's also the 'got' package that you could try too, that's much closer in functionality, but again not quite the same as svnlite because it has a different command line syntax. We considered these, and a few others, and none are quire ready... Warner