profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mpanarin/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Mykhailo Panarin mpanarin EVO Company Kyiv

emacs-lsp/lsp-mode 3537

Emacs client/library for the Language Server Protocol

mpanarin/lsp-mode 1

Emacs client/library for the Language Server Protocol

i-vyshnevska/account-reconcile 0

Odoo account reconciliation modules (statements, data completion,...)

leemannd/sale-workflow 0

Odoo Sales, Workflow and Organization

mpanarin/account-analytic 0

Odoo Account Analytic Related Addons

mpanarin/account-financial-reporting 0

Financial reports for Odoo

mpanarin/account-financial-tools 0

Odoo Accountant Financial Tools and Utils

mpanarin/account-invoicing 0

Odoo Invoicing Extension Addons

mpanarin/account-reconcile 0

Odoo account reconciliation modules (statements, data completion,...)

mpanarin/ai03-keyboard-pcb-guide 0

A PCB designed as per the ai03 PCB design guide

push eventmpanarin/versioce

Justin

commit sha 1eaaac2c0c65ee694435eb2436cc9fa376f102b7

:pencil: fix readme typo

view details

Justin

commit sha ed98c7f642b1dff280ae63da994b642ad10e4cee

:bug: handle an error that occurs when no tags are found

view details

mpanarin

commit sha b7580d037a52207dd798d80a99b492d9cc4a577c

:bug: fix `git_cli` not being truly optional

view details

mpanarin

commit sha 8f89a181182b0b0cfbb6a0e655955a0b88c27701

:sparkles: allow changelog generation when no tags present

view details

push time in a day

push eventmpanarin/versioce

Justin

commit sha 1eaaac2c0c65ee694435eb2436cc9fa376f102b7

:pencil: fix readme typo

view details

Justin

commit sha ed98c7f642b1dff280ae63da994b642ad10e4cee

:bug: handle an error that occurs when no tags are found

view details

push time in 4 days

PR opened mpanarin/versioce

:bug: fix `git_cli` not being truly optional
+256 -269

0 comment

7 changed files

pr created time in 5 days

create barnchmpanarin/versioce

branch : optional_deps_fix

created branch time in 5 days

PullRequestReviewEvent

pull request commentelixir-lsp/elixir-ls

add quick search to hexdocs.pm

@lukaszsamson can this be looked at please? This feature is pretty good and can be built upon

zhenfeng-zhu

comment created time in 14 days

push eventPanarinM/.dotfiles

mpanarin

commit sha e6c8c100a20fb570358aa43b3652fa5b5021d27f

[SPACEMACS] sync with template

view details

mpanarin

commit sha ccab6883be880a446adbcdabd79aef41c2fba055

[SPACEMACS] drop Cask packages

view details

mpanarin

commit sha 458087d516d0a36d28e90a9ad9b3d2c8b3e6cf9c

[SPACEMACS] add ruby layer

view details

mpanarin

commit sha 154b87e628d97782579d0781fb878e796738a871

[SPACEMACS] freeze solaire-mode

view details

mpanarin

commit sha 49c3b1a0d9005c06ab4c222f9ca6d04fd42a1989

[SPACEMACS] small updates

view details

mpanarin

commit sha 55e3ac1a30fecce2aeff510adfc1099a3fd6cef5

[SPACEMACS] updates

view details

mpanarin

commit sha 9341b4cfbfe574f078e50d1adfe1ac1045374882

[ZSHRC] update

view details

mpanarin

commit sha 988e4a880035f8661ecd2fb0f9c2548cccb105dd

[RIPGREP] add ripgreprc

view details

push time in a month

startedvirkillz/sveltex

started time in a month

startedmmontone/emacs-inspector

started time in a month

startedmatthiasn/talk-transcripts

started time in a month

Pull request review commentelixir-lsp/elixir-ls

add quick search to hexdocs.pm

 defmodule ElixirLS.LanguageServer.Providers.Hover do     end)   end -  defp contents(%{docs: "No documentation available\n"}) do+  defp contents(%{docs: "No documentation available\n"}, _subject \\ "") do     []   end -  defp contents(%{docs: markdown}) do+  defp contents(%{docs: markdown}, subject) do     %{       kind: "markdown",-      value: markdown+      value: add_hexdocs_link(markdown, subject)     }   end++  defp add_hexdocs_link(markdown, subject) do+    IO.inspect(subject)++    [hd | tail] = markdown |> String.split("\n\n")++    link = hexdocs_link(markdown, subject)++    case link do+      "" ->+        markdown++      _ ->+        hd <> "  [view on hexdocs](#{link})\n\n" <> Enum.join(tail, "")+    end+  end++  defp hexdocs_link(markdown, subject) do+    t = markdown |> String.split("\n\n") |> hd() |> String.replace(">", "") |> String.trim()++    cond do+      func?(t) ->+        mod_name = module_name(t)++        if elixir_module?(mod_name) do

I think we can go even further. With mod_name.__info__(:compile) we can determine wether the module is from a dependency or not. Therefore, generate hexdocs for modules from dependencies as well

zhenfeng-zhu

comment created time in 2 months

Pull request review commentelixir-lsp/elixir-ls

add quick search to hexdocs.pm

 defmodule ElixirLS.LanguageServer.Providers.Hover do     end)   end -  defp contents(%{docs: "No documentation available\n"}) do+  defp contents(%{docs: "No documentation available\n"}, _subject \\ "") do     []   end -  defp contents(%{docs: markdown}) do+  defp contents(%{docs: markdown}, subject) do     %{       kind: "markdown",-      value: markdown+      value: add_hexdocs_link(markdown, subject)     }   end++  defp add_hexdocs_link(markdown, subject) do+    IO.inspect(subject)++    [hd | tail] = markdown |> String.split("\n\n")++    link = hexdocs_link(markdown, subject)++    case link do+      "" ->+        markdown++      _ ->+        hd <> "  [view on hexdocs](#{link})\n\n" <> Enum.join(tail, "")+    end+  end++  defp hexdocs_link(markdown, subject) do+    t = markdown |> String.split("\n\n") |> hd() |> String.replace(">", "") |> String.trim()++    cond do+      func?(t) ->+        mod_name = module_name(t)++        if elixir_module?(mod_name) do+          "https://hexdocs.pm/elixir/#{module_name(subject)}.html##{func_name(subject)}/#{params_cnt(t)}"+        else+          ""+        end++      true ->+        if elixir_module?(t) do+          "https://hexdocs.pm/elixir/#{t}.html"+        else+          ""+        end+    end+  end++  defp remove_special_symbol(s) do+    s |> String.replace("!", "") |> String.replace("?", "")+  end++  defp groups_for_modules do+    [+      Kernel: [Kernel, Kernel.SpecialForms],+      "Basic Types": [+        Atom,+        Base,+        Bitwise,+        Date,+        DateTime,+        Exception,+        Float,+        Function,+        Integer,+        Module,+        NaiveDateTime,+        Record,+        Regex,+        String,+        Time,+        Tuple,+        URI,+        Version,+        Version.Requirement+      ],+      "Collections & Enumerables": [+        Access,+        Date.Range,+        Enum,+        Keyword,+        List,+        Map,+        MapSet,+        Range,+        Stream+      ],+      "IO & System": [+        File,+        File.Stat,+        File.Stream,+        IO,+        IO.ANSI,+        IO.Stream,+        OptionParser,+        Path,+        Port,+        StringIO,+        System+      ],+      Calendar: [+        Calendar,+        Calendar.ISO,+        Calendar.TimeZoneDatabase,+        Calendar.UTCOnlyTimeZoneDatabase+      ],+      "Processes & Applications": [+        Agent,+        Application,+        Config,+        Config.Provider,+        Config.Reader,+        DynamicSupervisor,+        GenServer,+        Node,+        Process,+        Registry,+        Supervisor,+        Task,+        Task.Supervisor+      ],+      Protocols: [+        Collectable,+        Enumerable,+        Inspect,+        Inspect.Algebra,+        Inspect.Opts,+        List.Chars,+        Protocol,+        String.Chars+      ],+      "Code & Macros": [+        Code,+        Kernel.ParallelCompiler,+        Macro,+        Macro.Env+      ]+    ]+  end++  defp func?(s) do+    s =~ ~r/.*\..*\(.*\)/+  end++  defp elixir_module?(s) do

We can use https://hexdocs.pm/elixir/1.12/Module.html#c:info/1 here as well

zhenfeng-zhu

comment created time in 2 months

Pull request review commentelixir-lsp/elixir-ls

add quick search to hexdocs.pm

 defmodule ElixirLS.LanguageServer.Providers.Hover do     end)   end -  defp contents(%{docs: "No documentation available\n"}) do+  defp contents(%{docs: "No documentation available\n"}, _subject \\ "") do     []   end -  defp contents(%{docs: markdown}) do+  defp contents(%{docs: markdown}, subject) do     %{       kind: "markdown",-      value: markdown+      value: add_hexdocs_link(markdown, subject)     }   end++  defp add_hexdocs_link(markdown, subject) do+    IO.inspect(subject)++    [hd | tail] = markdown |> String.split("\n\n")++    link = hexdocs_link(markdown, subject)++    case link do+      "" ->+        markdown++      _ ->+        hd <> "  [view on hexdocs](#{link})\n\n" <> Enum.join(tail, "")+    end+  end++  defp hexdocs_link(markdown, subject) do+    t = markdown |> String.split("\n\n") |> hd() |> String.replace(">", "") |> String.trim()++    cond do+      func?(t) ->+        mod_name = module_name(t)++        if elixir_module?(mod_name) do+          "https://hexdocs.pm/elixir/#{module_name(subject)}.html##{func_name(subject)}/#{params_cnt(t)}"

its better to place the base hexdocs url into a module variable

zhenfeng-zhu

comment created time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

PR opened h4cc/awesome-elixir

Add package versioce

An extensible version bumping and changelog generation for your mix project

+1 -0

0 comment

1 changed file

pr created time in 2 months

push eventmpanarin/awesome-elixir

mpanarin

commit sha b5417c6a4c0dc82d69a43a8ee06abdedcffe517c

add package versioce

view details

push time in 2 months

create barnchmpanarin/awesome-elixir

branch : add_versioce

created branch time in 2 months

fork mpanarin/awesome-elixir

A curated list of amazingly awesome Elixir and Erlang libraries, resources and shiny things. Updates:

https://twitter.com/AwesomeElixir

fork in 2 months

created tagmpanarin/versioce

tagv1.1.1

Version bumping for your mix project

created time in 2 months

created tagmpanarin/versioce

tagv1.1.0

Version bumping for your mix project

created time in 2 months

push eventmpanarin/versioce

mpanarin

commit sha 36bb72be66c5b686bfe67568008bb11f8cb68d0c

:bug: fix wrong latest version in changelog

view details

mpanarin

commit sha 736026a6277a7032e57acb58d7b2152a23e153cf

:clap: Bump version to 1.1.1

view details

push time in 2 months

delete tag mpanarin/versioce

delete tag : v1.1.0

delete time in 2 months

created tagmpanarin/versioce

tagv1.1.0

Version bumping for your mix project

created time in 2 months

push eventmpanarin/versioce

mpanarin

commit sha d3dca9fdac876cfde185f5c768d08f6742e98179

:clap: Bump version to 1.1.0

view details

push time in 2 months

push eventmpanarin/versioce

mpanarin

commit sha e65556ab7ab7d447fabce831d31539d9fb8b938c

:art: apply mix format to the repo

view details

mpanarin

commit sha b7c77e9c2149ef8d10ece208beacd7bde19ce6a2

:sparkles: update code a bit

view details

mpanarin

commit sha fce2537e76b94c30bf86cb79c7fa9022be7fb4d8

:sparkles: move code in repo

view details

mpanarin

commit sha 71520f424474031d13aa183e95a847cd00f1c5df

:sparkles: update ok monad definition and usage

view details

mpanarin

commit sha 7917ba67ce2f6a6c51b65f9ddf732d466dce6639

:art: move migration instructions to a separate doc

view details

mpanarin

commit sha fba887db2c10e702d7cad2028032bf173e075d82

:construction: Add Changelog generation, no tests for now

view details

mpanarin

commit sha e7a4f8fca1df1496e5e28336c5d9a97d02d89518

:white_check_mark: Added tests after changelogs

view details

mpanarin

commit sha ac8b52ef1ba1d188466c04a67784f170ccfae1b3

:construction_worker: update ci config

view details

mpanarin

commit sha 0bd6a4c95f4264f7cf92109b46b6821f644d62c7

:white_check_mark: remove some directories from coveralls ignore I need to write proper tests/mocks for this instead of ignoring and faking the coveralls

view details

push time in 2 months

delete branch mpanarin/versioce

delete branch : add_changelog_generation

delete time in 2 months

PR merged mpanarin/versioce

Add changelog generation
+1189 -262

1 comment

41 changed files

mpanarin

pr closed time in 2 months

push eventmpanarin/versioce

mpanarin

commit sha 6184b41f8034f9dd43b686693f504a591c35889e

:white_check_mark: Added tests after changelogs

view details

mpanarin

commit sha 50a5da6f5ef547aab6763647232dc5974fcf702e

:construction_worker: update ci config

view details

mpanarin

commit sha 3d7035a31eefa2b83ce1dab173051dd876e006f1

:white_check_mark: remove some directories from coveralls ignore I need to write proper tests/mocks for this instead of ignoring and faking the coveralls

view details

push time in 2 months