From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Payas Relekar Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: use-package Date: Thu, 03 Nov 2022 13:36:01 +0530 Message-ID: <87wn8cihs4.fsf@gmail.com> References: <87lep4jeeb.fsf@gmail.com> <87bkq0gfc9.fsf@posteo.net> <87v8o80xs1.fsf@gmail.com> <87h6zqgc3s.fsf@gmail.com> <87v8o52mkn.fsf@gmail.com> <87v8o5w2c1.fsf@posteo.net> <877d0kbkfm.fsf@gmail.com> <875yg4144y.fsf@gmail.com> <87h6zmj451.fsf@gmail.com> <5EE58F68-8B9E-4DE6-BA20-3A88FFDA6528@posteo.net> <871qqkjwjj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5249"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.10; emacs 29.0.50 Cc: Philip Kaludercic , John Wiegley , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 03 09:40:24 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqVlw-0001BV-MV for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Nov 2022 09:40:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqVlE-0002Zp-9l; Thu, 03 Nov 2022 04:39:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqVF4-0005SH-Eb for emacs-devel@gnu.org; Thu, 03 Nov 2022 04:06:26 -0400 Original-Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqVF2-000699-Iw; Thu, 03 Nov 2022 04:06:26 -0400 Original-Received: by mail-pl1-x631.google.com with SMTP id c2so1178061plz.11; Thu, 03 Nov 2022 01:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=0muSXkp0jGEJ6nMm8C7dbbHm4CW1stPd0GMizCcmF7s=; b=Tel7XiRs722l79SMjrTgm7/8+jEKePEjVtB50VeRnrlFibtEjkiuzUzn5HygBu4kSn GDhAYrACGx9UIjjaXWkwF5dAxB8fVl5VC9mm8apmOsVNcfz5Z9ufr2SlHwXE6x0js8gL UBz+R08YEyRgHriLuAOx/M0YpUwKk69QW5CKx5TUZ9TqgUOcftTjBNovQi/QddfnlCe5 llD9Vd4peeirvKuCk1rG1y3BFnIp0yYCFvqL3JTJuaUu1JcaLF7u/fmyRoXFq2H24qHY kbP3Ss9gCgZEJETaOWtvfl1LhlV2lF8c6V0S1PHzPiN9sxxI/MT0Comh++O0/6mOAUD5 j3Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0muSXkp0jGEJ6nMm8C7dbbHm4CW1stPd0GMizCcmF7s=; b=7UqbDXnNly4nP7H2PrEIt/iEQ7/nt5hvb48KY06mlFbLkyDRd9TOatJCvRFBi7Sb26 Lz66ITOveHOlu4UZjOWfNp1bX5pV0MqzrFAg7R+Is/SaAgTwRjZgsRiExEiR1+JaTiSr A8XZoI5eYCloTtfQxsNqIF9XPjXumSkbytmcVYXo++CNNtEOhmsTCWcULOSEFk0VOcVy qZNx6FoNem9GWp6JbXCw0SW4Vdg4VuQxc4BpKctiyvwgTKh3TqdqCHk0ubf8BYdqIX+i 9rRw5XMC0TRtE9jwIqkGcX2LXgC/McIzZPMar7CM2B66YCl01rDBkbxwDAu69p7OTUbY 1wSg== X-Gm-Message-State: ACrzQf37txTAzqTI9UF8C7v9+1wX5VIftj4vXb4N4FqNOn6+QuglPoY3 QWbblQVBrkHwYrwYmsIPVz24p/XK2rd6DA== X-Google-Smtp-Source: AMsMyM5eC6brzMhcuKeBji2xAihSqx9mZ67ge8Awq0zifA4L9C/b5CAZHXRC+ZS1khh+P6Nosmz2dg== X-Received: by 2002:a17:90b:153:b0:213:b853:5db1 with SMTP id em19-20020a17090b015300b00213b8535db1mr27119559pjb.168.1667462782498; Thu, 03 Nov 2022 01:06:22 -0700 (PDT) Original-Received: from localhost ([150.107.26.17]) by smtp.gmail.com with ESMTPSA id w188-20020a627bc5000000b005672daedc8fsm134433pfc.81.2022.11.03.01.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 01:06:21 -0700 (PDT) In-reply-to: <871qqkjwjj.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=relekarpayas@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 03 Nov 2022 04:39:36 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299065 Archived-At: Re-adding emacs-devel Payas Relekar writes: > Hi, > > Since John gave confirmation for copyrights, I am preparing another PR. > However, to avoid throwing more non-working commits at John, I thought > to test it on local first. > > For reference, here is my changes: > https://github.com/jwiegley/use-package/compare/master...bhankas:use-package:master > > Then I changed elpa/elpa-packages to point to my clone for use-package > and tried to build with following: > > Stefan Monnier writes: > >> First, get the "infrastructure": >> >> git clone --single-branch git://git.savannah.gnu.org/emacs/elpa.git >> cd elpa >> make >> >> then fetch your package: >> >> make packages/use-package > > At this point my build is failing with this: > > ~~~~ > ~/g/elpa main $ make packages/use-package > emacs --batch -l admin/elpa-admin.el -f elpaa-batch-archive-update-worktrees use-package > Cloning branch use-package: > fatal: 'externals/use-package' is already checked out at '/home/payas/git/elpa/packages/use-package' > > ~/g/elpa main $ ls -alh packages/ > total 8.0K > drwxr-xr-x 2 payas payas 4.0K Nov 3 13:21 . > drwxr-xr-x 8 payas payas 4.0K Nov 3 13:31 .. > -rw-r--r-- 1 payas payas 0 Nov 3 13:21 .keep > ~/g/elpa main ?1 ? > ~~~~ > > I believe this is some leftover from previous attempt to build, but > there is only 1 file in packages/use-directory and it is an empty > '.keep' > > But, I could use some help untangling exactly what is going on here and > fix it. > >> then build your tarballs (they get put into `archive(-devel)/`): >> >> make build/use-package >> >> You can also set it up for "in-place use" (along the lines of `package-vc`): >> >> make packages/use-package >> >> This last one is the only "normal" make command, which tries to use >> dependencies to decide what to do, and can be re-run to recompile the >> modified files. > > Thanks, > Payas --