Skip to content

[bug] change package/project name everywhere #52

Description

@hsluoyz

need to change package/project name from "acx" to "casbin" everywhere

this will fix the below CI error: https://github.com/casbin/casbin-ex/actions/runs/20636502942/job/59262156299

Run mix hex.publish --yes
Building acx 1.9.0
  Dependencies:
    ecto_sql ~> 3.10 (app: ecto_sql)
  App: acx
  Name: acx
  Files:
    lib
    lib/acx
    lib/acx/enforcer_server.ex
    lib/acx/model
    lib/acx/model/matcher.ex
    lib/acx/model/request.ex
    lib/acx/model/config.ex
    lib/acx/model/policy_effect.ex
    lib/acx/model/policy_definition.ex
    lib/acx/model/policy.ex
    lib/acx/model/request_definition.ex
    lib/acx/persist
    lib/acx/persist/persist_adapter.ex
    lib/acx/persist/ecto_adapter.ex
    lib/acx/persist/readonly_file_adapter.ex
    lib/acx/internal
    lib/acx/internal/digraph.ex
    lib/acx/internal/operator.ex
    lib/acx/internal/role_group.ex
    lib/acx/internal/partial_range.ex
    lib/acx/internal/helpers.ex
    lib/acx/internal/parser.ex
    lib/acx/enforcer_supervisor.ex
    lib/acx/model.ex
    lib/acx/enforcer.ex
    lib/acx.ex
    .formatter.exs
    mix.exs
    README.md
    LICENSE
  Version: 1.9.0
  Build tools: mix
  Description: Casbin-Ex is a powerful and efficient open-source access control library for Elixir projects.
  Licenses: Apache-2.0
  Links: 
    Docs: https://casbin.org/docs/overview
    GitHub: https://github.com/casbin/casbin-ex
    Homepage: https://casbin.org/
  Elixir: ~> 1.13
Before publishing, please read the Code of Conduct: https://hex.pm/policies/codeofconduct
Publishing package to public repository hexpm.
Building docs...
==> earmark_parser
Compiling 2 files (.xrl)
Compiling 1 file (.yrl)
Compiling 3 files (.erl)
Compiling 47 files (.ex)
Generated earmark_parser app
==> blankable
Compiling 1 file (.ex)
Generated blankable app
==> file_system
Compiling 7 files (.ex)
Generated file_system app
==> decimal
Compiling 4 files (.ex)
Generated decimal app
==> nimble_parsec
Compiling 4 files (.ex)
warning: :crypto.strong_rand_bytes/1 defined in application :crypto is used by the current application but the current application does not depend on :crypto. To fix this, you must do one of:
  1. If :crypto is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs
  2. If :crypto is a dependency, make sure it is listed under "def deps" in your mix.exs
  3. In case you don't want to add a requirement to :crypto, you may optionally skip this warning by adding [xref: [exclude: [:crypto]]] to your "def project" in mix.exs
  lib/nimble_parsec.ex:447: NimbleParsec.bytes_random/1
Generated nimble_parsec app
==> bunt
Compiling 2 files (.ex)
Generated bunt app
===> Analyzing applications...
===> Compiling telemetry
==> jason
Compiling 10 files (.ex)
Generated jason app
==> db_connection
Compiling 18 files (.ex)
warning: :proc_lib.set_label/1 is undefined or private
Warning:   lib/db_connection/util.ex:32: DBConnection.Util.set_label/1
Generated db_connection app
==> recase
Compiling 15 files (.ex)
Generated recase app
==> git_hooks
Compiling 16 files (.ex)
↗ Installing git hooks...
Generated git_hooks app
==> credo
Compiling 251 files (.ex)
Generated credo app
==> ecto
Compiling 56 files (.ex)
Generated ecto app
==> makeup
Compiling 15 files (.ex)
Generated makeup app
==> makeup_elixir
Compiling 6 files (.ex)
Generated makeup_elixir app
==> makeup_erlang
Compiling 4 files (.ex)
Generated makeup_erlang app
==> ex_doc
warning: the dependency :ex_doc requires Elixir "~> 1.15" but you are running on v1.14.2
Compiling 26 files (.ex)
warning: Code.prepend_paths/1 is undefined or private. Did you mean:
      * append_path/1
      * prepend_path/1
  lib/ex_doc/cli.ex:74: ExDoc.CLI.generate/3
Generated ex_doc app
==> ecto_sql
Compiling 25 files (.ex)
Generated ecto_sql app
==> acx
Compiling 21 files (.ex)
Generated acx app
Generating docs...
warning: Closing unclosed backquotes ` at end of input
Warning:   lib/acx/enforcer_server.ex:158: (file)
View "html" docs at "doc/index.html"
warning: Closing unclosed backquotes ` at end of input
Warning:   lib/acx/enforcer_server.ex:158: (file)
View "epub" docs at "doc/acx.epub"
Publishing package...
[                         ] 0%
[                         ] 0%Publishing failed
Package with name acx already exists. Make sure you are authenticated and have permissions to publish the package.
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions