Developing Julia Packages

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии • 42

  • @colinlamont5040
    @colinlamont5040 4 года назад +35

    The Julia community is lucky to have Chris. Legendary contributor and, apparently, a great teacher as well.

  • @sippy_cups
    @sippy_cups 4 года назад +37

    0:00 - intro, discourse, slack
    2:30 - creating new package + repo
    5:00 - PkgTemplates
    8:50 - writing code
    9:30 - writing tests
    14:00 - testsets
    16:45 - CI
    22:30 - branches and PRs
    27:15 - code review
    29:00 - external dependencies in a package
    34:30 - resolving in Pkg
    40:45 - codecov
    43:00 - registering packages
    45:00 - versioning
    47:30 - developing/patching other packages
    50:30 - write access and forks
    51:45 - submitting PRs
    54:00 - open source communities

  • @therimalaya
    @therimalaya 5 лет назад +6

    You are awesome. You just gave a lot more than Julia and developing a package in Julia. This really helped a lot. Thank You.

  • @wevertonmarx
    @wevertonmarx 5 лет назад +12

    Awesome step-by-step tutorial!

  • @averagejoeandjulia8716
    @averagejoeandjulia8716 5 лет назад +3

    Great video - thanks, Chris! I was just exploring PkgTemplates.jl/package development the other day but I never spent the time to figure it out and now I feel like I did after watching this : )

  • @halneufmille
    @halneufmille 3 года назад +4

    Awesome tutorial covering so many details. Now that vscode is getting traction, it would be great to show how some of these things change in vscode.

  • @naughtrussel5787
    @naughtrussel5787 4 года назад +2

    Thanks a lot! Awesome tutorial and very nice explanation

  • @rohitpingale8774
    @rohitpingale8774 5 лет назад +4

    Thank you for start!

  • @SaMusz73
    @SaMusz73 5 лет назад +11

    Great tutorial for the Julia tools, thanks ! (may be use a bigger font for viewing Juno on small(er) screens ?)

  • @hudsonleone8875
    @hudsonleone8875 4 года назад

    High quality video, thanks!

  • @ddugu8392
    @ddugu8392 5 лет назад

    Thanks a lot , I have been waiting since your last video on this topic stopped working,with an update in jullia

  • @sippy_cups
    @sippy_cups 4 года назад +3

    This is great! Could you do a vid on using github-pages and Documenter.jl to deploy docs (either travis or github actions)? A video guide I think would be more useful than the text guide.

  • @xtiooplus
    @xtiooplus Год назад +1

    I only understood 2% of it, but the first step has been taken. I will sleep on it and continue

  • @yen-linchen7398
    @yen-linchen7398 4 года назад +1

    Thank you !!!

  • @cristophermoen8628
    @cristophermoen8628 5 лет назад +4

    Chris - around 9:32 I wonder why you didn't need to write 'using .MyExample'. I need the '.' otherwise I get a path error

    • @Sinskrat
      @Sinskrat 4 года назад +1

      i had the same problem. thanks for the solution!

    • @aaronkaw4857
      @aaronkaw4857 4 года назад +1

      I believe you need to activate the developer environment for the current project/repo/package you're working on.
      In the folder for the package, execute:
      ]activate MyExample
      Then you'll be able to `using MyExample` anywhere in the source code.

    • @WolfAngelRock
      @WolfAngelRock 3 года назад +1

      Christoper Moen you are the man, thank you so much.

  • @yuvrajiro
    @yuvrajiro 5 лет назад +2

    It is showing error when i used generate()
    ERROR: path C:\Users\Rahul\.julia\dev\test for package test no longer exists. Remove the package or `develop` it at a new path

    • @chrisrackauckasofficial
      @chrisrackauckasofficial 5 лет назад

      Do you have a folder there?

    • @yuvrajiro
      @yuvrajiro 5 лет назад

      @@chrisrackauckasofficial No there is not any folder named 'dev' , i have created one and followed instructions.

    • @chrisrackauckasofficial
      @chrisrackauckasofficial 5 лет назад

      @@yuvrajiro Interesting. Is it made the first time you make a package? Maybe try deving another existing package first?

  • @keithmyerscough697
    @keithmyerscough697 4 года назад

    Is it necessary to publish the package to a remote repository? I chose to ignore that for now, but run into "ERROR: ArgumentError: Package MyExample not found in current path:".

  • @johannesfleck6642
    @johannesfleck6642 4 года назад +1

    When I executed "using MyExample" in runtests.jl (at 9:45), Julia threw this error:
    ArgumentError: Package MyExample not found in current path: - Run import Pkg; Pkg.add("MyExample") to install the MyExample package.
    (I am on MacOS Big Sur with Julia 1.5.1.)
    Here is the solution which solved this problem for me: activate ~/.julia/dev/MyExample
    See this post: discourse.julialang.org/t/creating-package-with-pkgtemplate-stuck-following-video-tutorial/41572

  • @MiGotham
    @MiGotham 2 года назад +1

    New link for the Slack Invite: julialang.org/slack/

  • @xtiooplus
    @xtiooplus Год назад +1

    This video assumes an enormous amount of basic knowledge and is therefore unsuitable for beginners

  • @andrewdinhobl3471
    @andrewdinhobl3471 4 года назад +1

    How to edit someone else's package 47:25

  • @ther6989
    @ther6989 5 лет назад +2

    2:19 "and git.. a new one running" kek

  •  5 лет назад

    shit I can barely see the gray of letters

  • @mike_young
    @mike_young 4 года назад +3

    So I had a lot of trouble getting this to work. It kept saying UndefVarError when trying to run the tests. I was able to get it to work by going into the pkg manager and typing activate ~/.julia/dev/MyExample. I hope this helps if others run into the same problem.

  • @galexbh
    @galexbh 4 года назад

    I think it's very close...

  • @bread4732
    @bread4732 5 лет назад +2

    MY NAME IS JULIA

  • @sci_developer
    @sci_developer 2 года назад

    I did not get something, you are making a folder MyExample, then after compiling the package, continue the development in ~/home/user/.julia/dev/MyExample, and forget about the first folder right? But is .julia/dev/Myexample directory stable? what if you update julia and it may remove the encitre directory in .julia/?

  • @stretch8390
    @stretch8390 2 года назад +3

    If anyone is coming here in 2022, Juno is no longer receiving updates so get started by using Julia with vscode or jupyter notebooks instead. To launch notebooks from Julia REPL run:
    using Pkg
    Pkg.add("IJulia")
    using IJulia
    notebook()

  • @MorningStar_BT
    @MorningStar_BT Год назад

    ERROR: IOError: open("DrReaderCompiled2\\share\\julia\\artifacts\\f42f9d226c70f0bc88e5f897d914d9de1ac2ce03\\share\\wayland-protocols\\unstable\\linux-explicit-synchronization\\linux-explicit-synchronization-unstable-v1.xml", 769, 33206): no such file or directory (ENOENT)

  • @Strategies2010
    @Strategies2010 Год назад

    Anyone else getting stuck with not being able to `export`? When I do MyExample.my_f() it works just fine, but exporting my_f and then running a fresh REPL in the runtests.jl file, it doesn't recognize there being a function with that name...

    • @Strategies2010
      @Strategies2010 Год назад

      To be a bit clearer, everything up until 11:41 works perfect. Then the second I add `export my_fxn` in the Module file, then restart the REPL and run `my_fxn(1,2)`, it says that there is no `my_fxn` defined