pub
sdk
Our great sponsors
pub | sdk | |
---|---|---|
21 | 306 | |
1,028 | 9,792 | |
1.4% | 1.0% | |
9.2 | 10.0 | |
3 days ago | 5 days ago | |
Dart | Dart | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pub
-
Writing a Package Manager
Agreed. Version resolution is the interesting problem.
Most package managers use a SAT solver to resolve dependencies. The Dart team has a detailed write up on their SAT-based approach which is worth a read [1]. For contrast, Russ Cox presents an algorithm that doesn't use a SAT solver (intended for Go) [2].
[1] https://github.com/dart-lang/pub/blob/master/doc/solver.md
[2] https://research.swtch.com/vgo-mvs
- Modern SAT solvers: fast, neat and underused (2018)
-
Private pub.dev - is it possible?
Official documentation.
-
Self hosting package repository
As I understand Custom package repositories it's possible to host one's own package repository. The Repository Specification is public, but dart.dev only references cloud based paid services like Cloudsmith and OnePub.
- PubGrub: A next-generation version solving algorithm
-
I am building a pub server. When does the client send the name and version of the package and how can I access it?
As u/Which-Adeptness6908 already pointed out, the repository specification is small, and that's all you need to implement a server: https://github.com/dart-lang/pub/blob/master/doc/repository-spec-v2.md
- So you want to write a package manager
-
Tencent WeChat is now a GitHub secret scanning partner
https://docs.github.com/en/code-security/secret-scanning/sec...
A bit sad, they don't publish the list of regexes, etc.
--------------
I added a similar thing to the package manager for Dart / Flutter, because we saw users accidentally publishing secrets. That code is public, it relies on regexes and entropy estimation:
https://github.com/dart-lang/pub/blob/eb8ee21a089ebe0f2c2dd8...
It was heavily inspired by the researchers in:
-
Another choice of Flutter Version Manager: fvm in shell
Heres are some issues I've faced when trying with the dart-version cli: - The installation - dart pub global activate needs to have flutter/dart global installed already. - Global activated fvm cli got invalid after flutter upgrade, see issue - The cli does not work with customized fork of flutter. - You should run fvm flutter , not flutter , this changes CI/CD workflow
-
Dart on CLI: Foundations
This will add the args dependency in your pubspec file. We used the Darts package manager pub to add this dependency.
sdk
- Lançamento do App Edudu
- Dart: Improve JavaScript Interop
-
Top Paying Programming Technologies 2024
50. Dart - $55,862
-
What are your thoughts about gerrit?
Gerrit is optimized for in-house work lead by engineers who would rather be using Subversion. ("Subversion merge isn't worth using so I don't see why we need it.") It tends to be hostile to community contribution: outsiders get a second-class experience, so if community participation is your goal it's a bad choice.
-
Understanding Flutter Architecture Part 1 - Introduction
First off, Flutter uses Dart for its codebase. This means that the Dart programming language is used to develop the UIs, logic, and functionalities of applications and software built with Flutter.
-
The Road to Enhanced Flutter Development Part 1
The methods and other important information are documented in detail here. I have been exploring it and received some advice from Norbert 🙌.
- Flutter 3 on Devuan 4: 始め方
-
Flutter 3 on Devuan 4: Getting started
Programming Language: Dart
-
Flutter: Unleashing the Power of Cross-Platform App Development!
Official Dart website: dart.dev Dart Language Tour: dart.dev/guides/language/language-tour Dart API Reference: api.dart.dev
-
Is it possible to create Android apps using Rust?
Flutter is written in Dart, and its C interop story isn't strong (all functions that have to be callable from C have to be specifically annotated, and it doesn't support named parameters, which are used all over the place in Flutter). Here is my ticket for that.
What are some alternatives?
unpub - Self-hosted private Dart Pub server for Enterprise
obs-websocket - Remote-control of OBS Studio through WebSocket
pub-dev - The pub.dev website
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
shhgit - Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
fvm - Flutter Version Manager - POSIX-compliant bash script to manage multiple active flutter versions
starter_architecture_flutter_firebase - Time Tracking app with Flutter & Firebase
courier - Private dart package manager
buildozer - Generic Python packager for Android and iOS
fvm - Flutter Version Management: A simple CLI to manage Flutter SDK versions.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.