{"id":27885001,"url":"https://github.com/toitlang/pkg-ordered-collections","last_synced_at":"2026-01-30T01:14:39.762Z","repository":{"id":241090111,"uuid":"800902133","full_name":"toitlang/pkg-ordered-collections","owner":"toitlang","description":"Some collection classes for objects that have an ordering","archived":false,"fork":false,"pushed_at":"2024-05-22T10:09:29.000Z","size":21,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-22T11:26:56.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toitlang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-15T08:09:07.000Z","updated_at":"2024-05-22T11:26:59.370Z","dependencies_parsed_at":"2024-05-22T11:26:58.961Z","dependency_job_id":"48b91e1a-bd09-4225-92ad-28246f2ce471","html_url":"https://github.com/toitlang/pkg-ordered-collections","commit_stats":null,"previous_names":["toitlang/pkg-ordered-collections"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toitlang%2Fpkg-ordered-collections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toitlang%2Fpkg-ordered-collections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toitlang%2Fpkg-ordered-collections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toitlang%2Fpkg-ordered-collections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toitlang","download_url":"https://codeload.github.com/toitlang/pkg-ordered-collections/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252455567,"owners_count":21750511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-05T06:44:41.631Z","updated_at":"2026-01-30T01:14:39.721Z","avatar_url":"https://github.com/toitlang.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyPackage\n\nA template repository for creating a Toit package.\n\n## Toit package\nUse `toit.pkg describe` or `toit pkg describe` (depending on which Toit\nvariant you use) to see how https://pkg.toit.io will extract package\ninformation from your repo when you publish the package.\n\nEither add a `name: ...` entry to the package.yaml or change the title\n(first line) of this README to the package name.\n\nEither add a `description: ...` entry to the package.yaml or ensure\nthat the first paragraph of this README can be used as a description.\n\n## Structure\nCode that should be used by other developers must live in the `src` folder.\n\nExamples should live in `examples`. For bigger examples, or examples that\nuse more packages, create a subfolder.\n\nTests live in the `tests` folder.\n\n## Copyright\nDon't forget to update the copyright holder in the license files.\nThere are (up to) three license files:\n- `LICENSE`: usually MIT\n- `examples/EXAMPLES_LICENSE`: usually BSD0\n- `tests/TESTS_LICENSE`: usually BSD0\n\nWe recommend to use the following Copyright header in `src` files (with your\ncopyright):\n\n```\n// Copyright (C) 2022 Jane/John Doe\n// Use of this source code is governed by an MIT-style license that can be\n// found in the package's LICENSE file.\n```\n\nSimilarly, you can use the following header for tests and examples:\n```\n// Copyright (C) 2022 Jane/John Doe\n// Use of this source code is governed by a Zero-Clause BSD license that can\n// be found in the tests/TESTS_LICENSE file.\n```\nand\n```\n// Copyright (C) 2022 Jane/John Doe\n// Use of this source code is governed by a Zero-Clause BSD license that can\n// be found in the examples/EXAMPLES_LICENSE file.\n```\n\n## Local package\nExamples and tests can have different dependencies than the package. This is,\nwhy they have their own package.yaml/package.lock.\n\nOpen the examples (resp. tests) folder with a separate instance of your IDE.\nFor vscode you could just write `code examples`.\n\nInstall this package as a local package.\n```\ncd examples\ntoit.pkg install --local --name=YOUR_PACKAGE_NAME ..\n```\n\nThis installs the package located at \"..\" (here the root of the repository) with\nyour package name.\n\nConsequently examples and tests can import the package as if it was installed\nfrom the Internet. This way, tests and examples use the same syntax as\nusers of the package.\n\n## Publish\nMake sure to run `toit.pkg describe` to verify that the data is correct.\n\nThis repository comes with a `.github/workflows/publish.xml` file which automatically\npublishes the Toit package for every release. You can just draft a new release on\nGithub.\nIt is important that the release has a semver tag (like `v1.2.3`).\n\nAlternatively, a package can be published by hand:\n0. Ensure that everything looks good (`toit.pkg describe`).\n1. Add a semver tag (like `v1.0.0`).\n2. Go to https://pkg.toit.io/publish and submit your package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoitlang%2Fpkg-ordered-collections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoitlang%2Fpkg-ordered-collections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoitlang%2Fpkg-ordered-collections/lists"}