Code Monkey home page Code Monkey logo

clj-xml's People

Contributors

dependabot[bot] avatar fancygits avatar jmhawk avatar nnichols avatar renovate[bot] avatar wallbrewbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

clj-xml's Issues

force-seq-for-nested-keys

Feature Request

Problem Statement

This option exists today and does exactly what it's supposed to:
force-seq? - to coerce child XML nodes into an array of maps.

Sometimes, there will only ever be a single child XML node, but the edn returned will be a vector of maps instead of a single map.

Ideal Solution

A new option, something like:
force-seq-for-nested-keys - to coerce child XML nodes using the supplied nested keys into an array of maps

Alternative solutions

Workaround.
When cli-xml sometimes returns a map and other times a vector of maps, we put the single map into a vector so we can consistently handle a vector of maps.

(defn vectorize
  [x]
  (if (vector? x)
    x
    [x]))

Additional Context

Add any other context or screenshots about the feature request here.

Update to Clojure 1.11

Feature Request

To remove warnings related to update-keys and update-vals on projects using Clojure 1.11, can clj-xml be updated to use the new core functions?

Problem Statement

Starting a server running Clojure 1.11 and a clj-xml dependency shows warnings.
E.g.

WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: clj-xml.impl, being replaced by: #'clj-xml.impl/update-keys

Ideal Solution

Update to Clojure 1.11 and use the new core functions.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/cljdoc_test.yml
  • actions/checkout v4.1.4
  • actions/cache v4
  • cljdoc/cljdoc-check-action v0.0.3
.github/workflows/clojure.yml
  • actions/checkout v4.1.4
  • actions/cache v4
.github/workflows/contributors.yml
  • wow-actions/contributors-list v1
.github/workflows/deploy_to_clojars.yml
  • actions/checkout v4.1.4
  • actions/cache v4
  • hole19/git-tag-action v1.0
.github/workflows/format.yml
  • actions/checkout v4.1.4
  • just-sultanov/setup-cljstyle v1
  • stefanzweifel/git-auto-commit-action v5.0.1
.github/workflows/greetings.yml
  • actions/first-interaction v1
.github/workflows/label.yml
  • actions/labeler v5
.github/workflows/lint.yml
  • actions/checkout v4.1.4
  • reviewdog/action-misspell v1
  • actions/checkout v4.1.4
  • nnichols/clojure-lint-action v2
  • actions/checkout v4.1.4
.github/workflows/scanner.yml
  • actions/checkout v4.1.4
  • clj-holmes/clj-holmes-action 53daa4da4ff495cccf791e4ba4222a8317ddae9e
  • github/codeql-action v3
.github/workflows/sync_labels.yml
  • actions/checkout v4.1.4
  • micnncim/action-label-syncer v1
.github/workflows/todo.yml
  • actions/checkout v4.1.4
leiningen
project.clj
  • org.clojure:clojure 1.11.3
  • org.clojure:data.xml 0.2.0-alpha9
  • com.github.clj-kondo:lein-clj-kondo 2024.03.13
  • com.wallbrew:lein-sealog 1.6.0
  • lein-project-version:lein-project-version 0.1.0
  • mvxcvi:cljstyle 0.16.630
maven
pom.xml
  • org.clojure:clojure 1.11.3
  • org.clojure:data.xml 0.2.0-alpha9

  • Check this box to trigger a request for Renovate to run again on this repository

Fix CI/CD Actions for new contributors

Bug Report

Describe the Bug

A new contributor creates a Pull Request. After a WB maintainer approves the CI Runner to execute, most of the actions fail.

Steps to Reproduce

Example here: #20

Expected Behavior

The CI works the same as if a WB maintainer executed it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.