| 23 Oct 2021 |
Artturin | 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 | * 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 | not sure but, if that date comes from the release or the last time the source file has been touched it's fine | 03:38:27 |
baloo | (it looks like you're checking differences between 2.33.0 and 2.33.1 | 03:38:48 |
baloo | ) | 03:38:49 |
baloo | git 2.33.1 is from 10/12/2021 and git 2.33.0 is from 08/16/2021 afaict | 03:40:46 |
baloo | so this makes it reproducible, and we don't need to care about the date of it | 03:41:05 |
baloo | otherwise, I would dig up the source of the date and either patch it out or just wrap that in a libfaketime | 03:41:36 |
| r-burns joined the room. | 20:27:48 |
r-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 | nvm I think I misread your comment. I dont see any issues with requiring it to produce an output | 22:21:40 |
| 24 Oct 2021 |
baloo | What I was suggesting is to run the installPhase before checkPhase | 15:59:16 |
baloo | 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 | can diffoscope follow symlinks? | 16:00:22 |
baloo | just that, by default, run generate the output | 16:00:29 |
baloo | * just that, by default, generate the output before the tests | 16:01:52 |
| 25 Oct 2021 |
| ReplayCoding joined the room. | 00:06:43 |
| 26 Oct 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:18:50 |
| NixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot. | 02:00:15 |
| NixOS Moderation Bot set a profile picture. | 02:00:32 |
| NixOS Moderation Bot changed their profile picture. | 02:23:47 |
| NixOS Moderation Bot changed their profile picture. | 02:33:16 |
| Fabián Heredia joined the room. | 14:39:26 |
Artturin | 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 | 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 | * 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 | it doesn't follow symlinks | 10:47:41 |
| 29 Oct 2021 |
| @timdeh:matrix.org left the room. | 03:48:19 |
| @stigo:matrix.org joined the room. | 15:18:35 |
| Sandro 🐧 joined the room. | 16:53:53 |