xdg-9.5.0/0000755000004100000410000000000015103446633012344 5ustar www-datawww-dataxdg-9.5.0/lib/0000755000004100000410000000000015103446633013112 5ustar www-datawww-dataxdg-9.5.0/lib/xdg/0000755000004100000410000000000015103446633013674 5ustar www-datawww-dataxdg-9.5.0/lib/xdg/paths/0000755000004100000410000000000015103446633015013 5ustar www-datawww-dataxdg-9.5.0/lib/xdg/paths/home.rb0000644000004100000410000000146115103446633016272 0ustar www-datawww-data# frozen_string_literal: true require "forwardable" require "pathname" module XDG module Paths # A XDG home path. class Home extend Forwardable KEY = "HOME" delegate %i[key value] => :pair def initialize pair, environment = ENV @pair = pair @environment = environment freeze end def default = expand String(value) def dynamic = String(environment[key]).then { |path| path.empty? ? default : expand(path) } def to_s = [pair.key, dynamic].compact.join XDG::DELIMITER alias to_str to_s def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :pair, :environment def expand(path) = home.join(path).expand_path def home = Pathname environment.fetch(KEY) end end end xdg-9.5.0/lib/xdg/paths/directory.rb0000644000004100000410000000210415103446633017341 0ustar www-datawww-data# frozen_string_literal: true require "pathname" module XDG module Paths # A collection of XDG directories. class Directory DELIMITER = ":" def initialize pair, environment = ENV @pair = pair @environment = environment freeze end def default = value.split(DELIMITER).map { |path| expand path } def dynamic String(environment[key]).then { |env_value| env_value.empty? ? value : env_value } .split(DELIMITER) .uniq .map { |path| expand path } end def to_s = [key, dynamic.join(DELIMITER)].reject(&:empty?).join XDG::DELIMITER alias to_str to_s def inspect pairs = to_s type = self.class pairs.empty? ? "#<#{type}:#{object_id}>" : "#<#{type}:#{object_id} #{self}>" end private attr_reader :pair, :environment def key = String pair.key def value = String pair.value def expand(path) = Pathname(path).expand_path end end end xdg-9.5.0/lib/xdg/paths/combined.rb0000644000004100000410000000130515103446633017117 0ustar www-datawww-data# frozen_string_literal: true require "pathname" module XDG module Paths # The combined home and directory paths. class Combined def initialize initial_home, initial_directories @initial_home = initial_home @initial_directories = initial_directories freeze end def home = initial_home.dynamic def directories = initial_directories.dynamic def all = directories.prepend(*home) def to_s = [initial_home.to_s, initial_directories.to_s].reject(&:empty?).join " " alias to_str to_s def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :initial_home, :initial_directories end end end xdg-9.5.0/lib/xdg/config.rb0000644000004100000410000000130315103446633015463 0ustar www-datawww-data# frozen_string_literal: true require "forwardable" require "xdg/pair" module XDG # Provides configuration support. class Config extend Forwardable HOME_PAIR = Pair["XDG_CONFIG_HOME", ".config"].freeze DIRS_PAIR = Pair["XDG_CONFIG_DIRS", "/etc/xdg"].freeze delegate %i[home directories all to_s to_str] => :combined def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV @combined = Paths::Combined.new home.new(HOME_PAIR, environment), directories.new(DIRS_PAIR, environment) freeze end def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :combined end end xdg-9.5.0/lib/xdg/data.rb0000644000004100000410000000131415103446633015131 0ustar www-datawww-data# frozen_string_literal: true require "forwardable" require "xdg/pair" module XDG # Provides data support. class Data extend Forwardable HOME_PAIR = Pair["XDG_DATA_HOME", ".local/share"].freeze DIRS_PAIR = Pair["XDG_DATA_DIRS", "/usr/local/share:/usr/share"].freeze delegate %i[home directories all to_s to_str] => :combined def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV @combined = Paths::Combined.new home.new(HOME_PAIR, environment), directories.new(DIRS_PAIR, environment) freeze end def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :combined end end xdg-9.5.0/lib/xdg/state.rb0000644000004100000410000000120215103446633015334 0ustar www-datawww-data# frozen_string_literal: true require "forwardable" require "xdg/pair" module XDG # Provides state support. class State extend Forwardable HOME_PAIR = Pair["XDG_STATE_HOME", ".local/state"].freeze delegate %i[home directories all to_s to_str] => :combined def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV @combined = Paths::Combined.new home.new(HOME_PAIR, environment), directories.new(Pair.new, environment) freeze end def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :combined end end xdg-9.5.0/lib/xdg/environment.rb0000644000004100000410000000156015103446633016567 0ustar www-datawww-data# frozen_string_literal: true module XDG # A convenience wrapper to all XDG functionality. class Environment def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV @cache = Cache.new(home:, directories:, environment:) @config = Config.new(home:, directories:, environment:) @data = Data.new(home:, directories:, environment:) @state = State.new(home:, directories:, environment:) freeze end def cache_home = cache.home def config_home = config.home def config_dirs = config.directories def data_home = data.home def data_dirs = data.directories def state_home = state.home def to_s = "#{cache} #{config} #{data} #{state}" alias to_str to_s def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :cache, :config, :data, :state end end xdg-9.5.0/lib/xdg/pair.rb0000644000004100000410000000107715103446633015161 0ustar www-datawww-data# frozen_string_literal: true module XDG # A generic key-value pair (KVP). Pair = Data.define :key, :value do def initialize key: nil, value: nil super end def key? = key.to_s.size.positive? def value? = value.to_s.size.positive? def empty? = !(key? && value?) def to_env = {key => value} def to_s = key? || value? ? "#{key}#{DELIMITER}#{value}" : "" alias_method :to_str, :to_s def inspect type = self.class key? || value? ? "#" : "#" end end end xdg-9.5.0/lib/xdg/cache.rb0000644000004100000410000000117415103446633015267 0ustar www-datawww-data# frozen_string_literal: true require "forwardable" require "xdg/pair" module XDG # Provides cache support. class Cache extend Forwardable HOME_PAIR = Pair["XDG_CACHE_HOME", ".cache"].freeze delegate %i[home directories all to_s to_str] => :combined def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV @combined = Paths::Combined.new home.new(HOME_PAIR, environment), directories.new(Pair.new, environment) freeze end def inspect = "#<#{self.class}:#{object_id} #{self}>" private attr_reader :combined end end xdg-9.5.0/lib/xdg.rb0000644000004100000410000000050615103446633014222 0ustar www-datawww-data# frozen_string_literal: true require "xdg/cache" require "xdg/config" require "xdg/data" require "xdg/environment" require "xdg/pair" require "xdg/paths/combined" require "xdg/paths/directory" require "xdg/paths/home" require "xdg/state" # Main namespace. module XDG DELIMITER = "=" def self.new = Environment.new end xdg-9.5.0/xdg.gemspec0000644000004100000410000000172615103446633014501 0ustar www-datawww-data# frozen_string_literal: true Gem::Specification.new do |spec| spec.name = "xdg" spec.version = "9.5.0" spec.authors = ["Brooke Kuhlmann"] spec.email = ["brooke@alchemists.io"] spec.homepage = "https://alchemists.io/projects/xdg" spec.summary = "A XDG Base Directory Specification implementation." spec.license = "Hippocratic-2.1" spec.metadata = { "bug_tracker_uri" => "https://github.com/bkuhlmann/xdg/issues", "changelog_uri" => "https://alchemists.io/projects/xdg/versions", "homepage_uri" => "https://alchemists.io/projects/xdg", "funding_uri" => "https://github.com/sponsors/bkuhlmann", "label" => "XDG", "rubygems_mfa_required" => "true", "source_code_uri" => "https://github.com/bkuhlmann/xdg" } spec.signing_key = Gem.default_key_path spec.cert_chain = [Gem.default_cert_path] spec.required_ruby_version = ">= 3.4" spec.files = Dir["*.gemspec", "lib/**/*"] spec.extra_rdoc_files = Dir["README*", "LICENSE*"] end xdg-9.5.0/checksums.yaml.gz.sig0000444000004100000410000000060015103446633016407 0ustar www-datawww-datam@x1|]\ P{p[Y3f}dBOWGm6D."P JD`Z):ƉpϽRXVsҵfh>SqB;"f s龷_o:N]\λ]=>gɴ;pc @" )T,grIQoYr. 1X3o(oN98R^eM:Ѹ?#/ޜ2E VjBmb[.qϢ)X(=e% f(tW b4TDFZĩe-ވ3w^+fEPqh}[-q[ֈ.6jA]ln( GLKw#5KJxdg-9.5.0/README.adoc0000644000004100000410000002764615103446633014150 0ustar www-datawww-data:toc: macro :toclevels: 5 :figure-caption!: :dotfiles_link: link:https://alchemists.io/projects/dotfiles[Dotfiles] :runcom_link: link:https://alchemists.io/projects/runcom[Runcom] :sod_link: link:https://alchemists.io/projects/sod[Sod] = XDG Provides a Ruby implementation of the link:https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html[XDG Base Directory Specification] for managing common configurations without polluting your {dotfiles_link}. XDG is great for command line interfaces or any application that needs a common configuration, cache, data, state, or runtime. 💡 If you write a lot of Command Line Interfaces (CLIs) and would like additional behavior built atop this gem, then check out the {runcom_link} gem or the more advanced {sod_link} gem. toc::[] == Features * Provides a `XDG` object that adheres to the _XDG Base Directory Specification_ with access to the following environment settings: ** `$XDG_CACHE_HOME` ** `$XDG_CONFIG_HOME` ** `$XDG_CONFIG_DIRS` ** `$XDG_DATA_HOME` ** `$XDG_DATA_DIRS` ** `$XDG_STATE_HOME` == Requirements . https://www.ruby-lang.org[Ruby] == Setup To install _with_ security, run: [source,bash] ---- # 💡 Skip this line if you already have the public certificate installed. gem cert --add <(curl --compressed --location https://alchemists.io/gems.pem) gem install xdg --trust-policy HighSecurity ---- To install _without_ security, run: [source,bash] ---- gem install xdg ---- You can also add the gem directly to your project: [source,bash] ---- bundle add xdg ---- Once the gem is installed, you only need to require it: [source,ruby] ---- require "xdg" ---- == Usage The following describes how to use this implementation. === Objects To get up and running quickly, use `XDG.new` as follows: [source,ruby] ---- xdg = XDG.new xdg.cache_home # Answers computed `$XDG_CACHE_HOME` value. xdg.config_home # Answers computed `$XDG_CONFIG_HOME` value. xdg.config_dirs # Answers computed `$XDG_CONFIG_DIRS` value. xdg.data_home # Answers computed `$XDG_DATA_HOME` value. xdg.data_dirs # Answers computed `$XDG_DATA_DIRS` value. xdg.state_home # Answers computed `$XDG_STATE_HOME` value. ---- Behinds the scenes, use of `XDG.new` wraps `XDG::Environment.new` which provides a unified Object API to the following objects: [source,ruby] ---- cache = XDG::Cache.new config = XDG::Config.new data = XDG::Data.new state = XDG::State.new ---- Generally, use of `XDG.new` is all you need but knowing you can create a specialized instance of any aspect of the XDG specification can be handy for specific use cases. Additionally, the `cache`, `config`, `data`, and `state` objects share the same API which means you can send the following messages: * `#home`: Answers the home directory as computed via the `$XDG_*_HOME` key. * `#directories`: Answers an array directories as computed via the `$XDG_*_DIRS` key. * `#all`: Answers an array of _all_ directories as computed from the combined `$XDG_*_HOME` and `$XDG_*_DIRS` values (with `$XDG_*_HOME` prefixed at the start of the array). * `#to_s`: Answers an _explicit_ string cast for the current environment. * `#to_str`: Answers an _implicit_ string cast for the current environment. * `#inspect`: Answers object inspection complete with object type, object ID, and all environment variables. The _computed_ value of each method is either the user-defined value of the key or the default value, per specification, when the key is not defined or empty. For more on this, scroll down to the _Variable Defaults_ section to learn more. === Examples The following are examples of what you will see when exploring the XDG objects within an IRB console: [source,ruby] ---- require "xdg" # Initialization xdg = XDG.new cache = XDG::Cache.new config = XDG::Config.new data = XDG::Data.new state = XDG::State.new # Paths xdg.cache_home # "#" xdg.config_home # "#" xdg.config_dirs # ["#"] xdg.data_home # "#" xdg.data_dirs # ["#", "#"] xdg.state_home # "#" cache.home # "#" cache.directories # [] cache.all # ["#"] config.home # "#" config.directories # ["#"] config.all # ["#", "#"] data.home # "#" data.directories # ["#", "#"] data.all # ["#", "#", "#"] state.home # "#" state.directories # [] state.all # ["#"] # Casts (explicit and implicit) xdg.to_s # "XDG_CACHE_HOME=/Users/demo/.cache XDG_CONFIG_HOME=/Users/demo/.config XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_HOME=/Users/demo/.local/share XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_STATE_HOME=/Users/demo/.local/state" cache.to_s # "XDG_CACHE_HOME=/Users/demo/.cache" config.to_s # "XDG_CONFIG_HOME=/Users/demo/.config XDG_CONFIG_DIRS=/etc/xdg" data.to_s # "XDG_DATA_HOME=/Users/demo/.local/share XDG_DATA_DIRS=/usr/local/share:/usr/share" state.to_s # "XDG_STATE_HOME=/Users/demo/.local/state" xdg.to_str # "XDG_CACHE_HOME=/Users/demo/.cache XDG_CONFIG_HOME=/Users/demo/.config XDG_CONFIG_DIRS=/etc/xdg XDG_DATA_HOME=/Users/demo/.local/share XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_STATE_HOME=/Users/demo/.local/state" cache.to_str # "XDG_CACHE_HOME=/Users/demo/.cache" config.to_str # "XDG_CONFIG_HOME=/Users/demo/.config XDG_CONFIG_DIRS=/etc/xdg" data.to_str # "XDG_DATA_HOME=/Users/demo/.local/share XDG_DATA_DIRS=/usr/local/share:/usr/share" state.to_str # "XDG_STATE_HOME=/Users/demo/.local/state" # Inspection xdg.inspect # "#" cache.inspect # "#" config.inspect # "#" data.inspect # "#" state.inspect # "#" ---- === Variable Defaults The _XDG Base Directory Specification_ defines environment variables and associated default values when not defined or empty. The following defaults, per specification, are implemented by the `XDG` objects: * `$XDG_CACHE_HOME="$HOME/.cache"` * `$XDG_CONFIG_HOME="$HOME/.config"` * `$XDG_CONFIG_DIRS="/etc/xdg"` * `$XDG_DATA_HOME="$HOME/.local/share"` * `$XDG_DATA_DIRS="/usr/local/share/:/usr/share/"` * `$XDG_RUNTIME_DIR` * `$XDG_STATE_HOME="$HOME/.local/state"` The `$XDG_RUNTIME_DIR` environment variable deserves special mention because it’s not, _currently_, implemented as part of this gem because it is more user/environment specific. Here is how the `$XDG_RUNTIME_DIR` is meant to be used should you choose to use it: * _Must_ reference user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc.) * _Must_ be owned by the user with _only_ the user having read and write access to it. * _Must_ have a Unix access mode of `0700`. * _Must_ be bound to the user when logging in. * _Must_ be removed when the user logs out. * _Must_ be pointed to the same directory when the user logs in more than once. * _Must_ exist from first login to last logout on the system and not removed in between. * _Must_ not allow files in the directory to survive reboot or a full logout/login cycle. * _Must_ keep the directory on the local file system and not shared with any other file systems. * _Must_ keep the directory fully-featured by the standards of the operating system. Specifically, on Unix-like operating systems AF_UNIX sockets, symbolic links, hard links, proper permissions, file locking, sparse files, memory mapping, file change notifications, a reliable hard link count must be supported, and no restrictions on the file name character set should be imposed. Files in this directory _may_ be subjected to periodic clean-up. To ensure files are not removed, they should have their access time timestamp modified at least once every 6 hours of monotonic time or the '`sticky`' bit should be set on the file. * When not set, applications should fall back to a replacement directory with similar capabilities and print a warning message. Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk. === Variable Behavior The behavior of most XDG environment variables can be lumped into two categories: * `$XDG_*_DIRS` * `$XDG_*_HOME` Each is described in detail below. ==== Directories These variables are used to define a colon (`:`) delimited list of directories. Order is important as the first directory defined will take precedent over the following directory and so forth. For example, here is a situation where the `XDG_CONFIG_DIRS` key has a custom value: [source,bash] ---- XDG_CONFIG_DIRS="/demo/one/.config:/demo/two/.settings:/demo/three/.configuration" ---- The above then yields the following, colon delimited, array: [source,ruby] ---- [ "/demo/one/.config", "/demo/two/.settings", "/demo/three/.configuration" ] ---- In the above example, the `"/demo/one/.config"` path takes _highest_ priority since it was defined first. ==== Homes These variables take precedence over the corresponding `$XDG_*_DIRS` environment variables. Using a modified version of the `$XDG_*_DIRS` example, shown above, we could have the following setup: [source,bash] ---- XDG_CONFIG_HOME="/demo/priority" XDG_CONFIG_DIRS="/demo/one/.config:/demo/two/.settings" ---- The above then yields the following, colon delimited, array: [source,ruby] ---- [ "/demo/priority", "/demo/one/.config", "/demo/two/.settings" ] ---- Due to `XDG_CONFIG_HOME` taking precedence over the `XDG_CONFIG_DIRS`, the path with the _highest_ priority is: `"/demo/priority"`. === Variable Priority Path precedence is determined in the following order (with the first taking highest priority): . `$XDG_*_HOME` - Will be used if defined. Otherwise, falls back to specification default. . `$XDG_*_DIRS` - Iterates through directories in order defined (with first taking highest priority). Otherwise, falls back to specification default. == Development To contribute, run: [source,bash] ---- git clone https://github.com/demo/xdg cd xdg bin/setup ---- You can also use the IRB console for direct access to all objects: [source,bash] ---- bin/console ---- Lastly, there is a `bin/demo` script which displays default functionality for quick visual reference. This is the same script used to generate the usage examples shown at the top of this document. [source,bash] ---- bin/demo ---- == Tests To test, run: [source,bash] ---- bin/rake ---- == link:https://alchemists.io/policies/license[License] == link:https://alchemists.io/policies/security[Security] == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct] == link:https://alchemists.io/policies/contributions[Contributions] == link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin] == link:https://alchemists.io/projects/xdg/versions[Versions] == link:https://alchemists.io/community[Community] == Credits * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith]. * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann]. xdg-9.5.0/LICENSE.adoc0000644000004100000410000002012615103446633014257 0ustar www-datawww-data= Hippocratic License Version: 2.1.0. Purpose. The purpose of this License is for the Licensor named above to permit the Licensee (as defined below) broad permission, if consistent with Human Rights Laws and Human Rights Principles (as each is defined below), to use and work with the Software (as defined below) within the full scope of Licensor’s copyright and patent rights, if any, in the Software, while ensuring attribution and protecting the Licensor from liability. Permission and Conditions. The Licensor grants permission by this license ("License"), free of charge, to the extent of Licensor’s rights under applicable copyright and patent law, to any person or entity (the "Licensee") obtaining a copy of this software and associated documentation files (the "Software"), to do everything with the Software that would otherwise infringe (i) the Licensor’s copyright in the Software or (ii) any patent claims to the Software that the Licensor can license or becomes able to license, subject to all of the following terms and conditions: * Acceptance. This License is automatically offered to every person and entity subject to its terms and conditions. Licensee accepts this License and agrees to its terms and conditions by taking any action with the Software that, absent this License, would infringe any intellectual property right held by Licensor. * Notice. Licensee must ensure that everyone who gets a copy of any part of this Software from Licensee, with or without changes, also receives the License and the above copyright notice (and if included by the Licensor, patent, trademark and attribution notice). Licensee must cause any modified versions of the Software to carry prominent notices stating that Licensee changed the Software. For clarity, although Licensee is free to create modifications of the Software and distribute only the modified portion created by Licensee with additional or different terms, the portion of the Software not modified must be distributed pursuant to this License. If anyone notifies Licensee in writing that Licensee has not complied with this Notice section, Licensee can keep this License by taking all practical steps to comply within 30 days after the notice. If Licensee does not do so, Licensee’s License (and all rights licensed hereunder) shall end immediately. * Compliance with Human Rights Principles and Human Rights Laws. [arabic] . Human Rights Principles. [loweralpha] .. Licensee is advised to consult the articles of the United Nations Universal Declaration of Human Rights and the United Nations Global Compact that define recognized principles of international human rights (the "Human Rights Principles"). Licensee shall use the Software in a manner consistent with Human Rights Principles. .. Unless the Licensor and Licensee agree otherwise, any dispute, controversy, or claim arising out of or relating to (i) Section 1(a) regarding Human Rights Principles, including the breach of Section 1(a), termination of this License for breach of the Human Rights Principles, or invalidity of Section 1(a) or (ii) a determination of whether any Law is consistent or in conflict with Human Rights Principles pursuant to Section 2, below, shall be settled by arbitration in accordance with the Hague Rules on Business and Human Rights Arbitration (the "Rules"); provided, however, that Licensee may elect not to participate in such arbitration, in which event this License (and all rights licensed hereunder) shall end immediately. The number of arbitrators shall be one unless the Rules require otherwise. + Unless both the Licensor and Licensee agree to the contrary: (1) All documents and information concerning the arbitration shall be public and may be disclosed by any party; (2) The repository referred to under Article 43 of the Rules shall make available to the public in a timely manner all documents concerning the arbitration which are communicated to it, including all submissions of the parties, all evidence admitted into the record of the proceedings, all transcripts or other recordings of hearings and all orders, decisions and awards of the arbitral tribunal, subject only to the arbitral tribunal’s powers to take such measures as may be necessary to safeguard the integrity of the arbitral process pursuant to Articles 18, 33, 41 and 42 of the Rules; and (3) Article 26(6) of the Rules shall not apply. . Human Rights Laws. The Software shall not be used by any person or entity for any systems, activities, or other uses that violate any Human Rights Laws. "Human Rights Laws" means any applicable laws, regulations, or rules (collectively, "Laws") that protect human, civil, labor, privacy, political, environmental, security, economic, due process, or similar rights; provided, however, that such Laws are consistent and not in conflict with Human Rights Principles (a dispute over the consistency or a conflict between Laws and Human Rights Principles shall be determined by arbitration as stated above). Where the Human Rights Laws of more than one jurisdiction are applicable or in conflict with respect to the use of the Software, the Human Rights Laws that are most protective of the individuals or groups harmed shall apply. . Indemnity. Licensee shall hold harmless and indemnify Licensor (and any other contributor) against all losses, damages, liabilities, deficiencies, claims, actions, judgments, settlements, interest, awards, penalties, fines, costs, or expenses of whatever kind, including Licensor’s reasonable attorneys’ fees, arising out of or relating to Licensee’s use of the Software in violation of Human Rights Laws or Human Rights Principles. * Failure to Comply. Any failure of Licensee to act according to the terms and conditions of this License is both a breach of the License and an infringement of the intellectual property rights of the Licensor (subject to exceptions under Laws, e.g., fair use). In the event of a breach or infringement, the terms and conditions of this License may be enforced by Licensor under the Laws of any jurisdiction to which Licensee is subject. Licensee also agrees that the Licensor may enforce the terms and conditions of this License against Licensee through specific performance (or similar remedy under Laws) to the extent permitted by Laws. For clarity, except in the event of a breach of this License, infringement, or as otherwise stated in this License, Licensor may not terminate this License with Licensee. * Enforceability and Interpretation. If any term or provision of this License is determined to be invalid, illegal, or unenforceable by a court of competent jurisdiction, then such invalidity, illegality, or unenforceability shall not affect any other term or provision of this License or invalidate or render unenforceable such term or provision in any other jurisdiction; provided, however, subject to a court modification pursuant to the immediately following sentence, if any term or provision of this License pertaining to Human Rights Laws or Human Rights Principles is deemed invalid, illegal, or unenforceable against Licensee by a court of competent jurisdiction, all rights in the Software granted to Licensee shall be deemed null and void as between Licensor and Licensee. Upon a determination that any term or provision is invalid, illegal, or unenforceable, to the extent permitted by Laws, the court may modify this License to affect the original purpose that the Software be used in compliance with Human Rights Principles and Human Rights Laws as closely as possible. The language in this License shall be interpreted as to its fair meaning and not strictly for or against any party. * Disclaimer. TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES "AS IS," WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR AND ANY OTHER CONTRIBUTOR SHALL NOT BE LIABLE TO ANYONE FOR ANY DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY KIND OF LEGAL CLAIM. This Hippocratic License is an link:https://ethicalsource.dev[Ethical Source license] and is offered for use by licensors and licensees at their own risk, on an "AS IS" basis, and with no warranties express or implied, to the maximum extent permitted by Laws. xdg-9.5.0/data.tar.gz.sig0000444000004100000410000000060015103446633015157 0ustar www-datawww-dataP [WS7!jmeovbU avl8[^JU(Ծ~# f} m[n\3zf^_|俨8`X:^\xMN@g!+9vct;lְVr{~htӰ]V]Iw웙?o bj%)p;uζ1G #3:`S{tR I= 9(['}|0jwUV O"DH0ş(^>~Lk XJx"C-ٌ\LZ2{50`J#滺Li4^\w:)<{xdg-9.5.0/metadata.gz.sig0000444000004100000410000000060015103446633015241 0ustar www-datawww-data7MZdGmt4ѡ㰾>Jخmjp◓JR2aߌ^CXΞčR=CXC'xp7>1'AE_7Bz x*fV^[l?87OyXBGݡzW%!m|w2|P𳙻i5M,اϠ|^߹Û#EI<8m쬣 UI\&X?҇•îSx}!ͳ!t)WENo|O-^#(< ^)n"^5Z)%@hTK