GNU bug report logs -
#57718
[PATCH 0/3] daemon: Remove unused code.
Previous Next
Reported by: Maxime Devos <maximedevos <at> telenet.be>
Date: Sat, 10 Sep 2022 17:20:02 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57718 in the body.
You can then email your comments to 57718 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#57718
; Package
guix-patches
.
(Sat, 10 Sep 2022 17:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxime Devos <maximedevos <at> telenet.be>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 10 Sep 2022 17:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#57718
; Package
guix-patches
.
(Sat, 10 Sep 2022 17:22:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 57718 <at> debbugs.gnu.org (full text, mbox):
* nix/libstore/store-api.cc (openStore): Remove it.
* nix/libstore/store-api.hh (openStore): Likewise.
---
nix/libstore/store-api.cc | 6 ------
nix/libstore/store-api.hh | 5 -----
2 files changed, 11 deletions(-)
diff --git a/nix/libstore/store-api.cc b/nix/libstore/store-api.cc
index 0de0b6b298..e3a8ac0995 100644
--- a/nix/libstore/store-api.cc
+++ b/nix/libstore/store-api.cc
@@ -277,10 +277,4 @@ namespace nix {
std::shared_ptr<StoreAPI> store;
-std::shared_ptr<StoreAPI> openStore(bool reserveSpace)
-{
- return std::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
-}
-
-
}
diff --git a/nix/libstore/store-api.hh b/nix/libstore/store-api.hh
index 7d2ad2270d..0693085a25 100644
--- a/nix/libstore/store-api.hh
+++ b/nix/libstore/store-api.hh
@@ -365,11 +365,6 @@ Paths topoSortPaths(StoreAPI & store, const PathSet & paths);
extern std::shared_ptr<StoreAPI> store;
-/* Factory method: open the Nix database, either through the local or
- remote implementation. */
-std::shared_ptr<StoreAPI> openStore(bool reserveSpace = true);
-
-
/* Display a set of paths in human-readable form (i.e., between quotes
and separated by commas). */
string showPaths(const PathSet & paths);
base-commit: 17f646aeba39f0d297f6c911d83b3bd9e88a227b
prerequisite-patch-id: 1f7c45cf2480f4e6f1e9563660e1b73a8682425e
prerequisite-patch-id: 0caac311875ee39cb48573657ebb960e90da6dfb
prerequisite-patch-id: 418285493d89ebf102175902d9b09a0174e88190
prerequisite-patch-id: 3c39eb839d9d3ff3fca6cd98621a5d5c411b7af4
--
2.37.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#57718
; Package
guix-patches
.
(Sat, 10 Sep 2022 17:22:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 57718 <at> debbugs.gnu.org (full text, mbox):
* nix/libstore/store-api.cc (exportPaths): Remove it.
* nix/libstore/store-api.hh (exportPaths): Likewise.
---
nix/libstore/store-api.cc | 11 -----------
nix/libstore/store-api.hh | 7 -------
2 files changed, 18 deletions(-)
diff --git a/nix/libstore/store-api.cc b/nix/libstore/store-api.cc
index e3a8ac0995..781fb9e693 100644
--- a/nix/libstore/store-api.cc
+++ b/nix/libstore/store-api.cc
@@ -236,17 +236,6 @@ string showPaths(const PathSet & paths)
return s;
}
-
-void exportPaths(StoreAPI & store, const Paths & paths,
- bool sign, Sink & sink)
-{
- foreach (Paths::const_iterator, i, paths) {
- writeInt(1, sink);
- store.exportPath(*i, sign, sink);
- }
- writeInt(0, sink);
-}
-
Path readStorePath(Source & from)
{
Path path = readString(from);
diff --git a/nix/libstore/store-api.hh b/nix/libstore/store-api.hh
index 0693085a25..82a79e50e2 100644
--- a/nix/libstore/store-api.hh
+++ b/nix/libstore/store-api.hh
@@ -369,13 +369,6 @@ extern std::shared_ptr<StoreAPI> store;
and separated by commas). */
string showPaths(const PathSet & paths);
-
-/* Export multiple paths in the format expected by ‘nix-store
- --import’. */
-void exportPaths(StoreAPI & store, const Paths & paths,
- bool sign, Sink & sink);
-
-
MakeError(SubstError, Error)
MakeError(BuildError, Error) /* denotes a permanent build failure */
--
2.37.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#57718
; Package
guix-patches
.
(Sat, 10 Sep 2022 17:22:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 57718 <at> debbugs.gnu.org (full text, mbox):
* nix/libstore/misc.cc (findOutput): Remove it.
* nix/libstore/misc.hh (findOutput): Likewise.
---
nix/libstore/misc.cc | 8 --------
nix/libstore/misc.hh | 4 ----
2 files changed, 12 deletions(-)
diff --git a/nix/libstore/misc.cc b/nix/libstore/misc.cc
index 97618089bd..d4e6d1b4af 100644
--- a/nix/libstore/misc.cc
+++ b/nix/libstore/misc.cc
@@ -59,14 +59,6 @@ void computeFSClosure(StoreAPI & store, const Path & path,
}
-Path findOutput(const Derivation & drv, string id)
-{
- foreach (DerivationOutputs::const_iterator, i, drv.outputs)
- if (i->first == id) return i->second.path;
- throw Error(format("derivation has no output `%1%'") % id);
-}
-
-
static void dfsVisit(StoreAPI & store, const PathSet & paths,
const Path & path, PathSet & visited, Paths & sorted,
PathSet & parents)
diff --git a/nix/libstore/misc.hh b/nix/libstore/misc.hh
index edbf24047e..f70cda9fd0 100644
--- a/nix/libstore/misc.hh
+++ b/nix/libstore/misc.hh
@@ -21,10 +21,6 @@ void computeFSClosure(StoreAPI & store, const Path & path,
PathSet & paths, bool flipDirection = false,
bool includeOutputs = false, bool includeDerivers = false);
-/* Return the path corresponding to the output identifier `id' in the
- given derivation. */
-Path findOutput(const Derivation & drv, string id);
-
bool willBuildLocally(const Derivation & drv);
bool substitutesAllowed(const Derivation & drv);
--
2.37.2
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Sun, 11 Sep 2022 13:55:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Maxime Devos <maximedevos <at> telenet.be>
:
bug acknowledged by developer.
(Sun, 11 Sep 2022 13:55:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 57718-done <at> debbugs.gnu.org (full text, mbox):
Applied, thanks!
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 10 Oct 2022 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.