Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2g69-0001pR-JL for pljava-dev@arkaria.postgresql.org; Mon, 03 Aug 2020 19:26:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k2g68-0000XP-Ih for pljava-dev@arkaria.postgresql.org; Mon, 03 Aug 2020 19:26:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2g68-0000XH-7c for pljava-dev@lists.postgresql.org; Mon, 03 Aug 2020 19:26:12 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k2g61-00057N-KP for pljava-dev@lists.postgresql.org; Mon, 03 Aug 2020 19:26:11 +0000 Received: by mail-ej1-x629.google.com with SMTP id l4so39768885ejd.13 for ; Mon, 03 Aug 2020 12:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EsydzlpLgx9GDMumndbndshSiVccNyipdzdJ3S7Qpik=; b=SEfUb8Zr5/aXOZNL8jVBu0re/OBtwnBje282EaadXyswdbkldJz4KgLAsvrnxZNkWT hUh0f2jwdZeltBUjRm2eMtvFe6RqzquCa/WG58flgZWmEj+zpm8WjNbtz5APXg+hSBi+ OMUNla4GX31YN7kHj560lPe6rOVv0zDSIw1spgHS8cGkWqwG4YKHDk+dIBAo+LRM0Acz UGerglOhKSQx0nxzJVLDafpOYECSB070uzq/i3JgxiDKiHLfQ0XCUF9jBcmxG+mO6NTt Va8hhVAWx2BClpsuEmyeQgjI9ZnBXd/vRkvU+9x6he026GwEAzdzRWGYfqb76WNUh8Ny vs0g== 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=EsydzlpLgx9GDMumndbndshSiVccNyipdzdJ3S7Qpik=; b=imZ6KZI1ZcKgt2rPolCT1KJqqVM5lo7Sm1hDuJ+yYzXciraF4d6uo/hO7VB7U+8yv1 cGTimNc+SibYKmB82BOvZeTNx/p9twZP5o7UwZGUn3C6/kpJFA8wo6ddZ8cVMjOSmd/g 2bQxaJcnMv2wdwAU9586PYMs7PygtpAhe4/ux+Ho+lf0gvJlbEsi7JKVULTO0otj7H6B JmuwGrlZOiAwjWcG3IKHxvEuU2tEYq0AAtHnsmte8/PCi7fW6Y8lDm1ouWzZuX2c2Ge8 2P4cSecMluBMlNeu2LgPVxy4BWV4GVY7AqrT0i4nK7eUU073OJZBuraGDcdF1duJGudz +BwQ== X-Gm-Message-State: AOAM533O8H+QrXZifLIe1c1JqWbpkIT8LezYQoqXU16erxIC+qtivmVo q+w+a0hy46EDD5gS2BP+B07pPK+IMdFBv9IPhQ12EjYT X-Google-Smtp-Source: ABdhPJxJCI+Ri/bAozmtvhccidDk0hUfyyj54r2752SVtREEv6hQRY+dpAGjHFdC4QGaegeHHBC9pHsCY4tMpKSQAQQ= X-Received: by 2002:a17:906:eca4:: with SMTP id qh4mr17870709ejb.255.1596482762961; Mon, 03 Aug 2020 12:26:02 -0700 (PDT) MIME-Version: 1.0 References: <5F1CE067.2060107@anastigmatix.net> <5F1F88E0.2050305@anastigmatix.net> <5F20E585.6010703@anastigmatix.net> <5F22DF79.2090701@anastigmatix.net> <5F230337.3040406@anastigmatix.net> <5F232EBB.9030208@anastigmatix.net> <5F278CCE.1090006@anastigmatix.net> In-Reply-To: <5F278CCE.1090006@anastigmatix.net> From: Kartik Ohri Date: Tue, 4 Aug 2020 00:55:51 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000f9f9a605abfe1b44" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000f9f9a605abfe1b44 Content-Type: text/plain; charset="UTF-8" > > I just noticed, comparing to how the current documentation site looks, > the maven-javadoc-plugin actually doesn't produce a vestigial Doxia > report containing a link to the javadocs. It somehow arranges for the > link to the JavaDocs report to go directly to apidocs/index.html. > > I'm sorry I hadn't spotted that before. Have you seen how they did that? > It would be a nicer experience, and maybe would make the scripting shorter > also. (And eliminate the temptation to write a fluent wrapper around Sink.) > I have fixed this. I checked maven javadoc code but there was nothing much obvious from it. I then compared the project-reports.html file for the plugins and found what the issue was. Generating the file using sink was actually wrong and wouldn't have worked anyways. (Not in the current setup at least.) Further details are in the commit message. For git commit messages, there's a kind of widely followed but unofficial > convention to have a top-line summary of no more than 50 characters, > then a blank line and any further description as paragraphs below that. > > I guess it's a little bit official; 'git help commit' mentions it: > > Though not required, it's a good idea to begin the commit message with > a single short (less than 50 character) line summarizing the change, > followed by a blank line and then a more thorough description. The text > up to the first blank line in a commit message is treated as the commit > title, and that title is used throughout Git. For example, git-format- > patch(1) turns a commit into email, and it uses the title on the > Subject line and the rest of the commit in the body. > > If you use commandline git commit and it starts up vim, you'll notice > the first line as you are typing will change color at character 50, just > as a kind of gentle reminder. > I have now configured my IDE so that such issues do not occur in future. ---------------- I have been checking out nar maven plugin's codebase to see how to invoke the C compiler and so on. It seems that the plugin delegates at least some parts to ant. It creates a custom task and hooks its adapter for different os, architecture and linker configurations into it. Do we want to use ant for that part or follow a direct approach ? Regards, Kartik --000000000000f9f9a605abfe1b44 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I just noticed, comparing to how the current documentati= on site looks,
the maven-javadoc-plugin actually doesn't produce a vestigial Doxia
report containing a link to the javadocs. It somehow arranges for the
link to the JavaDocs report to go directly to apidocs/index.html.

I'm sorry I hadn't spotted that before. Have you seen how they did = that?
It would be a nicer experience, and maybe would make the scripting shorter<= br> also. (And eliminate the temptation to write a fluent wrapper around Sink.)=
I have fixed this. I checked maven javadoc code but t= here was nothing much obvious from it. I then compared the project-reports.= html file for the plugins and found what the issue was. Generating the file= using sink was actually wrong and wouldn't have worked anyways. (Not i= n the current setup at least.) Further details are in the commit message.

For git commit messages, there's a kind of widely followed but unoffici= al
convention to have a top-line summary of no more than 50 characters,
then a blank line and any further description as paragraphs below that.

I guess it's a little bit official; 'git help commit' mentions = it:

=C2=A0 Though not required, it's a good idea to begin the commit messag= e with
=C2=A0 a single short (less than 50 character) line summarizing the change,=
=C2=A0 followed by a blank line and then a more thorough description. The t= ext
=C2=A0 up to the first blank line in a commit message is treated as the com= mit
=C2=A0 title, and that title is used throughout Git. For example, git-forma= t-
=C2=A0 patch(1) turns a commit into email, and it uses the title on the
=C2=A0 Subject line and the rest of the commit in the body.

If you use commandline git commit and it starts up vim, you'll notice the first line as you are typing will change color at character 50, just as a kind of gentle reminder.

I have no= w configured my IDE so that such issues do not occur in future.
<= br>
----------------
I have been checking out nar maven= plugin's=C2=A0codebase to see how to invoke the C compiler and so on. = It seems that the plugin delegates at least some parts to ant. It creates a= custom task and hooks its adapter for different os, architecture and linke= r configurations into it. Do we want to use ant for that part or follow a d= irect approach ?

Regards,
Kartik
--000000000000f9f9a605abfe1b44--