From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QOjmHVW5GWETTQEAgWs5BA (envelope-from ) for ; Mon, 16 Aug 2021 03:03:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uC2IGVW5GWFiNQAAbx9fmQ (envelope-from ) for ; Mon, 16 Aug 2021 01:03:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACA21CC72 for ; Mon, 16 Aug 2021 03:03:16 +0200 (CEST) Received: from localhost ([::1]:49048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFR23-0002o1-2T for larch@yhetil.org; Sun, 15 Aug 2021 21:03:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFR1Q-0002n1-Fk for emacs-orgmode@gnu.org; Sun, 15 Aug 2021 21:02:36 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:37515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFR1O-0001Zh-PK for emacs-orgmode@gnu.org; Sun, 15 Aug 2021 21:02:36 -0400 Received: by mail-pj1-x102e.google.com with SMTP id cp15-20020a17090afb8fb029017891959dcbso29843390pjb.2 for ; Sun, 15 Aug 2021 18:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=XIavKSU0sdRI/bx4B7ufUr5pH9znv9xoXtjQi6p8H+E=; b=rN5bD/9IHo7B2wzFZNIqxbOWZqbRraFV7TUyoKH8518CBJH+b/wWevGkEi2ShaPnE9 +FfYlxR6o4mwVgDIxhZntgsoY4wVjDPFtX9CqOTU4khn/gfzqqQ4LX275BI5idssfy+l lGet3y3/1wVDpwldrCei8/BFfOZFtkG+RjQqb1ywckJjmRz2ZtvCe60iasIh3+6A1dgk F044CPiIa9e3qRak3qq3i+g0dA8fr0w0uVdaqTgP6qvvseLd2wpx5QecFQ6PNIvTnP2P 7paZFyt6NHT0cscpuV+2N4YuCtITr4/8iut8OfITWpYoZMQzEjst8EXUuqxabX3h06KM kD6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=XIavKSU0sdRI/bx4B7ufUr5pH9znv9xoXtjQi6p8H+E=; b=SKVKBcJLq4NAhMpwpLR+XrwuCldGDHc8w1Lb11hi9jyofIZwtA2etHF/m+69OML8uo Jnb+nVRERlThQIEVctajYO6z6Jnf11sdC0VJJN6dZMHBOErFLj+ppGfZZWRLYEBg3gF+ uK+DZaO77gaNNdijonMtfZX3b3TSJeCfZb3xjfzEh9QHxYdIEqG7RYcxK/KKGeJiLxf8 xC5NjDCA0HjqP8uIgWEYErDs6NbC64MXE4XBA0oVkmRSEOZ2hMO9U+k4C/2oXWibYXxG 5xz7mrKnhLusZ/rserBQESZ10G0k6QTLfXk+jyShb3aVm5UChHhdme7sP3q8Yn/tTcz2 zHHw== X-Gm-Message-State: AOAM530NzgCIIN8upsaB+B/Hzfd91zKBZAXAyMBXaRt1v0Av1mz0keA8 QXR9vE7I9aSVthUwf427+jeVmIlcJ9FviFnm X-Google-Smtp-Source: ABdhPJz+EuqupZwggREsn8eqUpXbyP9c4A3ACRrnq5xGwxb8FUGynguc8bqW9QVBq7S9OsOz+wQGmw== X-Received: by 2002:a17:90a:f98d:: with SMTP id cq13mr14928272pjb.211.1629075752454; Sun, 15 Aug 2021 18:02:32 -0700 (PDT) Received: from geus3064linuxwsm (c-67-183-220-189.hsd1.wa.comcast.net. [67.183.220.189]) by smtp.gmail.com with ESMTPSA id j21sm8947139pfn.75.2021.08.15.18.02.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 18:02:32 -0700 (PDT) References: User-agent: mu4e 1.4.15; emacs 27.1 From: Ken Mankoff To: emacs-orgmode@gnu.org Subject: Re: Org + git branches for derived files In-reply-to: Date: Sun, 15 Aug 2021 18:02:31 -0700 Message-ID: <87lf5242xk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=mankoff@gmail.com; helo=mail-pj1-x102e.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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Barton , Rob Sargent , Tim Cross Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629075796; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XIavKSU0sdRI/bx4B7ufUr5pH9znv9xoXtjQi6p8H+E=; b=R4mulNDIRjNCD9wfxccRFJQ1dQJVBElmH1m58MwmH5kHT1ICg4S05iksexEHIf1o9a7yvE MrcKScWho7zdStcapOg37PYYB3Goy8qs07dipC3xA0sZ0enGaOSHQwwCT3XKRaVErR47SM BI255+gma/fEV83ZDXthUJipe3Auf2SY95BmcDO4yTEnXeCOzmnc9kUdEY8JQMhXHIA7YL wYj6WUSjMXfGdId8qk9Z8h6w6espmeFTXaaxgNeFJdMfUxpRrquuaJwSaEdvDLkMumoEMM +3mZggfeXst9JV1ZP7iiNlJDF/BgGy0Zti6la4CWtrWz9yaltHK7abziS1elxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629075796; a=rsa-sha256; cv=none; b=hQOdkg3lINSPj2xzAVIqG03ZU7/jfAZA34FlPiXchZZYvlHU3HfQTunjh6DWSDsmlurmvu 5OgmgyiO2mevEFA8wXI3r0Fhg5p+jkItm82SE0BL/yYbr7IFwv1LXHUmMLfPTrmhr248oi gSxkZyNaEaXr/NtJIqxSubWDBEKUuIfm3PJWUVX4rMWyBC47vh6Pu1JWK9Bo8brDYUlNux PI7hmI2Js1HNGmzyEV1fYMTBC6EVPRckrdrzm4TtPRX0MDEHNA5WTnxM7uTDf8otuJ2B3+ p4pzoDNaeNXmdU3NOaI8Dah9wSdN7ZENWFz9TpWfUhGka0Tv+mqLTsnnfBf6kg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="rN5bD/9I"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="rN5bD/9I"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: ACA21CC72 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: sMjR+XMhpm07 Hi All, Thank you for the suggestions. I think the most elegant solution is to have a hook on GitHub that compiles the PDF on a remote server. But it takes a lot more work, because I don't necessarily have *everything* in Git - my local 'library.bib' usually isn't included, nor my custom emacs config, latexmkrc, etc. I'd just like the compiled PDF easily readable by anyone, but I don't want 100s of historical copies. There are a few solutions. 1) Maintain a branch with the 'no-history' files. When they need to be updated, commit and amend, then force-push. See https://stackoverflow.com/questions/22824922/git-commit-and-push-a-binary-file-but-dont-keep-history 2) Add the 'no-history' files to their own commit in the main branch. When they need to be updated, make a new commit and rebase/fixup from the previous commit. See https://stackoverflow.com/questions/12964145/how-to-config-git-to-overwrite-non-text-file-instead-of-version-controlled-it -k.