From e126ed33e34cdab0094b1cc1ca23cdf22aa247e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Tue, 20 Jul 2021 09:51:53 -0400 Subject: [PATCH 1/6] update version for CI --- .github/workflows/CI.yml | 4 ++-- .github/workflows/CompatHelper.yml | 2 +- Project.toml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index eb2903ab3..517802cdb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: version: - - '1.4' - '1.5' + - '1.6' os: - ubuntu-latest - macOS-latest @@ -37,4 +37,4 @@ jobs: flags: unittests name: codecov-umbrella fail_ci_if_error: false - token: ${{ secrets.CODECOV }} \ No newline at end of file + token: ${{ secrets.CODECOV }} diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index e9c9a9086..850c70369 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - julia-version: [1.4.0] + julia-version: [1.5.0] julia-arch: [x86] os: [ubuntu-latest] steps: diff --git a/Project.toml b/Project.toml index 509a932a1..5f1da41dc 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "EcologicalNetworks" uuid = "f03a62fe-f8ab-5b77-a061-bb599b765229" authors = ["Timothée Poisot "] repo = "https://github.com/EcoJulia/EcologicalNetworks.jl" -version = "0.4.3" +version = "0.5.0" [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" @@ -19,7 +19,7 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" [compat] Combinatorics = "1.0" DataStructures = "0.17, 0.18" -Distributions = "0.23, 0.24" +Distributions = "0.24, 0.25" Requires = "1.0" StatsBase = "0.33" -julia = "1.4" +julia = "1.5" From 2bd1650038518cc1deba96d3f297157be2a62d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Wed, 21 Jul 2021 08:45:32 -0400 Subject: [PATCH 2/6] fix WS type in doc --- .github/workflows/Documentation.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index e63bc9597..c9efc5259 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -18,7 +18,9 @@ jobs: version: '1.5' - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + env: + GKSwstype: "100" - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.TOKEN }} # For authentication with GitHub Actions token - run: julia --project=docs/ docs/make.jl \ No newline at end of file + run: julia --project=docs/ docs/make.jl From fec23bc8e8fb328e73c9692290205b3368cc0a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Wed, 21 Jul 2021 09:27:00 -0400 Subject: [PATCH 3/6] fix doc CI --- .github/workflows/Documentation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index c9efc5259..0aed9df81 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -19,8 +19,9 @@ jobs: - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' env: - GKSwstype: "100" + GKSwstype: nul - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.TOKEN }} # For authentication with GitHub Actions token + GKSwstype: nul run: julia --project=docs/ docs/make.jl From 2b03a64439d33c7223a51cbf859d362cfb3ac977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Wed, 21 Jul 2021 09:31:37 -0400 Subject: [PATCH 4/6] update documenter --- docs/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Project.toml b/docs/Project.toml index 9d0a604bf..b15967576 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -8,4 +8,4 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [compat] -Documenter = "0.24" +Documenter = "0.27" From 7a15064519ac01f7781dc814fa61651d5459bcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Wed, 21 Jul 2021 10:03:08 -0400 Subject: [PATCH 5/6] remove the documenter version --- docs/Project.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index b15967576..8ad34f438 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -6,6 +6,3 @@ EcologicalNetworksPlots = "9f7a259d-73a7-556d-a7a2-3eb122d3865b" Mangal = "b8b640a6-63d9-51e6-b784-5033db27bef2" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" - -[compat] -Documenter = "0.27" From 555a4def087b83aea9e05633f0d7015d9ec96e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poisot?= Date: Wed, 21 Jul 2021 10:32:34 -0400 Subject: [PATCH 6/6] README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index becb9c229..d5583ea77 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This `julia` package provides a common interface to analyze all types of data on ecological networks. It is designed to be general, easy to expand, and work on bipartite/unipartite as well as deterministic/quantitative/probabilistic -networks. The current version is compatible with `julia` version 1.0 and 0.7. +networks. The current version is compatible with `julia` version 1.5 and up. [![](https://img.shields.io/badge/docs-stable-blue.svg)](https://ecojulia.github.io/EcologicalNetworks.jl/stable) [![](https://img.shields.io/badge/docs-dev-orange.svg)](https://ecojulia.github.io/EcologicalNetworks.jl/dev) @@ -22,6 +22,12 @@ Optionally, if you want to visualize networks, install add EcologicalNetworksPlots ``` +To access network data stored in [mangal.io](http://mangal.io), install + +``` +add Mangal +``` + That's it. Now head over to the [documentation](http://EcoJulia.github.io/EcologicalNetworks.jl/stable/).