!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

539 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30125 Servers

Load older messages


SenderMessageTime
23 Oct 2021
@artturin:matrix.orgArtturin

has anyone tried getting rid of the dates in docbook2man?

─ gitweb.conf.5
@@ -1,17 +1,17 @@
 '\" t
 .\"     Title: gitweb.conf
 .\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 10/12/2021
+.\"      Date: 08/16/2021
 .\"    Manual: Git Manual
-.\"    Source: Git 2.33.1
+.\"    Source: Git 2.33.0
 .\"  Language: English
 .\"
-.TH "GITWEB\&.CONF" "5" "10/12/2021" "Git 2\&.33\&.1" "Git Manual"
+.TH "GITWEB\&.CONF" "5" "08/16/2021" "Git 2\&.33\&.0" "Git Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 .\" http://bugs.debian.org/507673
 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

03:29:53
@artturin:matrix.orgArtturin *

has anyone tried getting rid of the dates in docbook2man?

─ gitweb.conf.5
@@ -1,17 +1,17 @@
 '\" t
 .\"     Title: gitweb.conf
 .\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\"      Date: 10/12/2021
+.\"      Date: 08/16/2021
 .\"    Manual: Git Manual
-.\"    Source: Git 2.33.1
+.\"    Source: Git 2.33.0
 .\"  Language: English
 .\"
-.TH "GITWEB\&.CONF" "5" "10/12/2021" "Git 2\&.33\&.1" "Git Manual"
+.TH "GITWEB\&.CONF" "5" "08/16/2021" "Git 2\&.33\&.0" "Git Manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 .\" http://bugs.debian.org/507673
 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

03:30:07
@baloo_:matrix.orgbaloonot sure but, if that date comes from the release or the last time the source file has been touched it's fine03:38:27
@baloo_:matrix.orgbaloo(it looks like you're checking differences between 2.33.0 and 2.33.103:38:48
@baloo_:matrix.orgbaloo)03:38:49
@baloo_:matrix.orgbaloogit 2.33.1 is from 10/12/2021 and git 2.33.0 is from 08/16/2021 afaict03:40:46
@baloo_:matrix.orgbalooso this makes it reproducible, and we don't need to care about the date of it03:41:05
@baloo_:matrix.orgbaloootherwise, I would dig up the source of the date and either patch it out or just wrap that in a libfaketime03:41:36
@r-burns:matrix.orgr-burns joined the room.20:27:48
@r-burns:matrix.orgr-burns
In reply to @baloo_:matrix.org
that seems weird to me to rely on check phase to produce outputs, but I don't know
on CI it can be useful to have the check phase publish a ctest or junit xml
22:18:45
@r-burns:matrix.orgr-burnsnvm I think I misread your comment. I dont see any issues with requiring it to produce an output22:21:40
24 Oct 2021
@baloo_:matrix.orgbalooWhat I was suggesting is to run the installPhase before checkPhase15:59:16
@baloo_:matrix.orgbaloo does not mean you can't put stuff in the postCheck hook in the $out or get an extraneous $test output or something 15:59:56
@artturin:matrix.orgArtturincan diffoscope follow symlinks?16:00:22
@baloo_:matrix.orgbaloojust that, by default, run generate the output16:00:29
@baloo_:matrix.orgbaloo * just that, by default, generate the output before the tests16:01:52
25 Oct 2021
@replaycoding_:matrix.orgReplayCoding joined the room.00:06:43
26 Oct 2021
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:18:50
@mjolnir:nixos.orgNixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot.02:00:15
@mjolnir:nixos.orgNixOS Moderation Bot set a profile picture.02:00:32
@mjolnir:nixos.orgNixOS Moderation Bot changed their profile picture.02:23:47
@mjolnir:nixos.orgNixOS Moderation Bot changed their profile picture.02:33:16
@fabianhjr:matrix.orgFabián Heredia joined the room.14:39:26
@artturin:matrix.orgArtturin
In reply to @artturin:matrix.org
can diffoscope follow symlinks?
{
  inputs = {
    nixpkgs.url = "/home/artturin/nixgits/my-nixpkgs";
    nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = inputs@{ self, nixpkgs, flake-utils, nixpkgsUnstable }:
    flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
    let 
      pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; };
    in rec {
      packages = {
        diffscript = pkgs.diffscript;
        difffarm = pkgs.difffarm;
      };

    }) // {

      overlay = self: super: {
        difffarm = let
        in with self; linkFarmFromDrvs "difffarm" [
          bash
          coreutils
        ];
        crossdifffarm = let
          crosspkgs = import nixpkgs { inherit (self) system; crossSystem = nixpkgs.lib.systems.examples.aarch64-multiplatform; };
        in with crosspkgs; linkFarmFromDrvs "difffarm" [
          bash
          coreutils
        ];
        diffscript = let
        in with self; stdenvNoCC.mkDerivation rec {
          name = "diffscript";
          nativeBuildInputs = [ nixpkgsUnstable.legacyPackages.x86_64-linux.diffoscope ];
          installPhase = ''
            mkdir $out
            readlinkOrig=($(readlink ${difffarm}/*))
            readlinkCross=($(readlink ${crossdifffarm}/*))
            names=($(ls ${difffarm}))

            for ((i=0;i<=''${#readlinkOrig[@]};i++)); do
              diffoscope "''${readlinkOrig[i]}" "''${readlinkCross[i]}" > $out/''${names[i]} || true
            done

          '';
          dontUnpack = true;
          dontPatch = true;
          dontConfigure = true;
          dontBuild = true;
          dontFixup = true;
        };
      };
    };
}
16:19:59
@artturin:matrix.orgArtturin
In reply to @artturin:matrix.org
can diffoscope follow symlinks?
*
{
  inputs = {
    nixpkgs.url = "/home/artturin/nixgits/my-nixpkgs";
    nixpkgsUnstable.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };

  outputs = inputs@{ self, nixpkgs, flake-utils, nixpkgsUnstable }:
    flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
    let 
      pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; };
    in rec {
      packages = {
        diffscript = pkgs.diffscript;
        difffarm = pkgs.difffarm;
      };

    }) // {

      overlay = self: super: {
        difffarm = let
        in with self; linkFarmFromDrvs "difffarm" [
          bash
          coreutils
        ];
        crossdifffarm = let
          crosspkgs = import nixpkgs { inherit (self) system; crossSystem = nixpkgs.lib.systems.examples.aarch64-multiplatform; };
        in with crosspkgs; linkFarmFromDrvs "difffarm" [
          bash
          coreutils
        ];
        diffscript = let
        in with self; stdenvNoCC.mkDerivation rec {
          name = "diffscript";
          nativeBuildInputs = [ nixpkgsUnstable.legacyPackages.x86_64-linux.diffoscope ];
          installPhase = ''
            mkdir $out
            readlinkOrig=($(readlink ${difffarm}/*))
            readlinkCross=($(readlink ${crossdifffarm}/*))
            names=($(ls ${difffarm}))

            for ((i=0;i<=''${#readlinkOrig[@]};i++)); do
              diffoscope "''${readlinkOrig[i]}" "''${readlinkCross[i]}" > $out/''${names[i]} || true
            done

          '';
          dontUnpack = true;
          dontPatch = true;
          dontConfigure = true;
          dontBuild = true;
          dontFixup = true;
        };
      };
    };
}
16:20:04
27 Oct 2021
@j-k:matrix.orgj-k

* Symlinks and devices can now be properly compared. (Closes: #789003)
https://salsa.debian.org/search?utf8=%E2%9C%93&search=symlink&group_id=2392&project_id=26273&scope=&search_code=true&snippets=false&repository_ref=master&nav_source=navbar

I guess it can

08:24:17
@artturin:matrix.orgArtturinit doesn't follow symlinks10:47:41
29 Oct 2021
@timdeh:matrix.org@timdeh:matrix.org left the room.03:48:19
@stigo:matrix.org@stigo:matrix.org joined the room.15:18:35
@sandro:supersandro.deSandro 🐧 joined the room.16:53:53

Show newer messages


Back to Room ListRoom Version: 6