1660991410
This package contains tools for analyzing Julia packages.
For now, it provides tools to build a highly simplified package search engine that can be queried as a service:
Example
Build a simplified search engine service:
using PkgUtils
PkgUtils.runservice()
Run a search website:
cd .julia/PkgUtils
julia scripts/server.jl
open site/index.html
Author: johnmyleswhite
Source Code: https://github.com/johnmyleswhite/PkgUtils.jl
1660991410
This package contains tools for analyzing Julia packages.
For now, it provides tools to build a highly simplified package search engine that can be queried as a service:
Example
Build a simplified search engine service:
using PkgUtils
PkgUtils.runservice()
Run a search website:
cd .julia/PkgUtils
julia scripts/server.jl
open site/index.html
Author: johnmyleswhite
Source Code: https://github.com/johnmyleswhite/PkgUtils.jl
1660983720
PkgDev provides tools for Julia package developers. The package is currently being rewritten for Julia 1.x and only for brave early adopters.
Tag a new release for package package_name
. The package you want to tag must be deved in the current Julia environment. You pass the package name package_name
as a String
. The git commit that is the HEAD
in the package folder will form the basis for the version to be tagged.
If you don't specify a version
, then the version
field in the Project.toml
must have the format x.y.z-DEV
, and the command will tag version x.y.z
as the next release. Alternatively you can specify one of :major
, :minor
or :patch
for the version
parameter. In that case PkgDev.tag
will increase that part of the version number by 1 and tag that version. Finally, you can also specify a full VersionNumber
as the value for the version
parameter, in which case that version will be tagged.
The only situation where you would specify a value for registry
is when you want to register a new package for the first time in a registry that is not General
. In all other situations, PkgDev.tag
will automatically figure out in which registry your package is registered. When you do pass a value for registry
, it should simply be the short name of a registry that is one of the registries your local system is connected with.
If you want to add custom release notes for TagBot, do so with the release_notes
keyword.
PkgDev.tag
runs through the following process when it tags a new version:
release-x.y.z
.Project.toml
and commit that change on the release branch.Project.toml
to x.y.z+1-DEV
and commit that change also to the release branch. 4a. For packages in the General registry: add a comment that triggers Registrator. 4b. For packages in other registries: Open a pull request against the registry that tags the first new commit on the release branch as a new version x.y.z
.master
.If you have TagBot installed for your package with the branches: true
setting, it will automatically merge the release-x.y.z
branch into master
once the pull request for the registry has been merged. If you use the package butler (desribed below) it auto-configures your repository for this workflow.
Enables the Julia Package Butler for package package_name
. The package must be deved in the current Julia environment. The command will make various modifications to the files in the deved folder of the package. You then then need to commit these changes and push them to GitHub. The command will also add a deploy key to the GitHub repository of the package and show instructions on how to add two GitHub Actions secrets to the repository.
The channel
argument can be :auto
, :stable
or :dev
. There are two channels of updates: stable
and dev
. The dev
channel will run the Julia Package Butler workflow every 5 minutes and it will use the master
branch of the Julia Packge Butler engine, i.e. it will get new features more quickly. The stable
branch runs the Julia Package Butler workflow every hour, and new features in the Julia Package Butler engine are only pushed out to the stable channel once they have been tested for a while on the dev
channel. If you specify :auto
as the argument, any existing channel choice you have previously made for the package will be retained, otherwise the package will be configure for the stable
channel.
The template
argument can be :auto
, :default
or :bach
. Different templates will configure different aspects of your package. At this point everyone should use the :default
template (or :auto
template), everything else is considered experimental.
Switch the Julia Package Butler channel for package package_name
. The package you want to tag must be deved in the current Julia environment and the Julia Package Butler must already be enabled for the package. The channel
argument can be :auto
, :stable
or :dev
, see the documentation for PkgDev.enable_pkgbutler
for an explanation of the different channels.
Switch the Julia Package Butler template for package package_name
. The package you want to tag must be deved in the current Julia environment and the Julia Package Butler must already be enabled for the package. The template
argument can be :auto
, :default
or :bach
.
Format all the Julia source code files for the package with name package_name
. The package you want to format must be deved in the current Julia environment. This function uses DocumentFormat.jl.
Author: JuliaLang
Source Code: https://github.com/JuliaLang/PkgDev.jl
License: View license
1660979891
The purpose of PackageEvaluator is to attempt to test every Julia package nightly, and to provide the information required to generate the Julia package listing.
This is currently done for Julia 0.6 and nightly, and the tests are run in Ubuntu 14.04 LTS ("Trusty Tahr") virtual machines managed with Vagrant. This allows users to debug why their tests are failing, and allows PackageEvaluator to be run almost anywhere.
The code itself, in particular scripts/setup.sh
, is heavily commented, so check that out for more information.
Possible reasons include:
master
. Make sure you've tagged a version with your bug fixes included.src/constants.jl
.scripts/setup.sh
.test/REQUIRE
file.src/constants.jl
saying your package shouldn't be run.xvfb
. Please submit a pull request adding a line to src/constants.jl
that specifies that your package needs to be run with xvfb
active.test/runtests.jl
file. PackageEvaluator will execute it with Pkg.test
.(Licenses are searched for in the files listed in src/constants.jl
. The goal is to support a variety of licenses. If your license isn't detected, please file a pull request with detection logic.)
Vagrantfile
.vagrant up
, a provisioning script called setup.sh
is run.0.6
or 0.7
)setup
: set up the machine with Julia and the same dependencies that are used for a full PackageEvaluator run, but do not do any testing.all
: do setup
and evaluate all the packages.AF
, GO
, PZ
: evaluate only packages with names beginning with those letters.scripts/Vagrantfile
for the list of the VMs.Author: JuliaCI
Source Code: https://github.com/JuliaCI/PackageEvaluator.jl
License: MIT license
1661384580
Qlab.jl
Data manipulation and analysis tools tailored for quantum computing experiments in conjunction with Auspex. Currently working with Julia v1.0.
(v1.3) pkg> add https://github.com/BBN-Q/Qlab.jl
The code base also uses some system tools and python libraries for building libraries and plotting data with PyPlot.jl. You'll want to make sure your system has these.
In CentOS:
yum -y install epel-release
yum install gcc gcc-c++ make bzip2 hdf5 libaec libgfortran libquadmath
In Ubuntu/Debian:
apt-get install gcc g++ gcc-7-base make libaec0 libgfortran4 libhdf5-100 libquadmath0 libsz2
You'll need a working version of PyPlot. In some cases the package manager has trouble getting this right on all systems/OSs. If you run into issues, we recommend using Conda.jl manually:
using Pkg
Pkg.add("PyCall")
Pkg.add("Conda")
ENV["PYTHON"] = ""
Pkg.build("PyCall")
using Conda
Conda.add("matplotlib")
Conda.add("seaborn")
Pkg.add("PyPlot")
In most cases, Julia should take care of this for you.
Qlab.jl depends on several other Julia packages that have biniary dependencies. These should mostly be taken care of by the package manager. One important exception is HDF5 and its libhdf5 dependancy. This library manages the handling of HDF5 files and is currently maintained for backwards compatibility. The version of libhdf5 which produced any data files you want to analyze must match the library version used to create the files. You may need to add the path the the right version of libhdf5 to the Libdl path in Julia and rebuild HDF5:
push!(Libdl.DL_LOAD_PATH, "/opt/local/lib")
Pkg.build("HDF5")
where /opt/local/lib
is the path to the correct version of libhdf5. See the documentation from HDF5.jl for more details. Currently only version of hdf5 1.8.2 - 1.8.17 are supported. If you're not planning to use HDF5 files, you shouldn't have to worry about the library versions matching.
Raytheon BBN Technologies.
Author: BBN-Q
Source Code: https://github.com/BBN-Q/Qlab.jl
License: View license
1668217680
Lint.jl is a tool that uses static analysis to assist in the development process by detecting common bugs and potential issues.
Lint.jl can be installed through the Julia package manager:
Pkg.add("Lint")
There are 3 functions you can use to lint your code.
lintpkg("MyPackage")
for linting an entire packagelintfile("my_file.jl")
for linting a filelintstr("my string")
for linting a stringDetailed documentation is available for:
Author: Tonyhffong
Source Code: https://github.com/tonyhffong/Lint.jl
License: View license