Andrew Nesbitt
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # IPFS Camp Package Manager Deep Dive ## Package Managers: What Now, What Next? > Community evaluation and ideation session to recap the current (as of late June) state of the IPFS-enabled package manager landscape, discuss happiness and pain points, and do some ideation/co-creation around the direction of our next rounds of package manager efforts. ## Existing materials - Fundamental package management concepts - Problems with package managers - Cladistic tree of IPFS integration - Decentralized package management - Offline package management - Existing integrations and demos ## Topics and areas of interest - Ease of use - Resource reduction - Performance - Offline - Reproducability - Forkability - User hosted - Decentralized publishing - Communication - Security and Trust - Discovery - Community ## Order of activities - Overview of current space (can @achingbrain and @andrew help assemble this?) with - Emphasis that there's a lot to tackle here, and we want to give you a brief overview to level-set - Emphasis on "here's our body of research/analysis over the last six months, here are the problems and opportunities we've reached as part of this research, now let's rank/discuss these" - Emphasis that this is a large problem space: show the reproducible build group's current work and problem space? - Brief chat with attendees to see what categories of package managers or specific package managers they use regularly; also are they package users, package authors or package manager maintainers? - Posters with streamlined versions of the in-depth problems and benefits below - Dot-voting - 2x2 grids: prevalence of issue, pain (or benefit) of issue. Points on the grids to be noted per package manger or other area of specificity if that's appropriate given the group of attendees - Further discussion on the "biggest" dots: potential solutions and technical hurdles on stickies - [Crazy Eights](https://www.iamnotmypixels.com/how-to-use-crazy-8s-to-generate-design-ideas/) would be another great approach if we have enough people or enough concentration of interest in particular areas ## Session Flow ideas Q: which problems with package management should IPFS tackle? Outputs for each problem: - why that problem is important - what solutions are available - advantages and shortcomings of proposed solutions - important concepts, obstacles, and related topics Q: which benefits for package management should IPFS focus on? Outputs for each benefit: - why that benefit is important - how to achieve that benefit - advantages and shortcomings of proposed solutions - important concepts, obstacles, and related topics Q: ideas for potential solutions - Even if they are wacky - Or they've been done before ## Indepth problems that face package managers today that IPFS could help with - Compatibility/interoperability - ~~Maintaining compatibility with multiple platforms, architectures and run times~~ - Versioning - Not being able to opt-out of using new releases which have breaking changes - ~~Difficult to know what percentage of consumers are using newer releases vs stuck on old releases due to incompatibilities~~ - ~~Difficult to discourage users from using broken/deprecated releases~~ - Services/tooling - Tooling and infrastructure to produce pre-built binaries is awful across the board - Dependencies - ~~Language level packages that depend system level packages do not communicate or automate those dependency links effectively~~ - ~~Not being able to resolve conflicting dependency requirements when building a dependency tree~~ - ~~Not being able to update/fix/swap old packages deep within a dependency tree when they cause problems~~ - Not being able to efficiently review the downloaded code within each dependency of an application - **Not being able to reproduce a known working set of dependencies at a later date** - ~~Not being able to install more than one version of a dependency at once~~ - ~~Difficult to test package against a range of different versions of upstream and downstream dependencies~~ - ~~Package managers often can't use themselves for managing dependencies, due to bootstrapping issues, resulting in duplicate efforts and reduced productivity~~ - Security/verifiablity/trust - ~~Not being able to validate the license/copyright/patent details of a package~~ - **Not being able to confirm that the contents of a download package is the same as was originally published by the author** - ~~Package maintainers transferring ownership to unknown entities~~ - ~~Vetting contributions for security concerns~~ - **Coordinating key signing infrastructure between maintainers is time consuming and error prone** - Having to police illegal/pirate/malicious packages from the registry - ~~Difficult to hand over control/trust when maintainers step down~~ - Large amount of trust placed on very small amount of maintainers - Reliablity/availablity - **Package releases being removed from registries** - **Not being able to install or build packages whilst offline** - Registry downtime stops building/developing of software that is dependent on it - Recovery of data after loss due to server failure or security breach - Communication/support/community/discovery - ~~Not knowing the status of a package (deprecated, unmaintained, broken etc)~~ - ~~Difficult to know if a new release of a package is stable~~ - Difficult to know when new releases of packages are published - ~~Not being able to find new packages that are relevant to consumers interests/needs~~ - ~~Not being able to filter packages by compatible licenses~~ - ~~Communicating with consumers of packages~~ - ~~Difficulties communicating with package consumers and producers~~ - ~~Deploying significant changes can result in community backlash~~ - Heavy support burden from both consumers and producers - Costs - **Hosting internal or private mirrors of registries is time consuming and requires ongoing maintenance and infrastructure costs** - Greatly increased infrastructure costs when storing binaries as well as source code - Difficulties funding maintenance, development and infrastructure costs - Distributing infrastructure globally can be costly/complex ## Indepth potential benefits of putting package managers on IPFS: - Ease of use - **easier to mirror a registry** - easier to run private registries - easier to use specific historial versions - Save resources - **Save bandwidth reducing re-downloads** - **minimize storage requirements by de-duping package contents** - updates are smaller/more condensed - registries save on bandwidth and storage costs - registries aren't reliant on donations of services (CDN, hosting etc) - more users = more savings - Performance - **Faster to download from IPFS powered registries/mirrors** - Faster when there are other local devs with the same packages installed - Faster in production environments (clusters, CI etc) - Offline - **More resilient to network problems during installations** - **possible to install and verify packages whilst Offline** - registry downtime doesn't delay deployment - works great when network is poor - takes load off community ran registries - Reproducibility - **Easy to declare and verify the provenance of all software you run** - **confirm that you're running exactly the same code you expect** - **No more left-pads - previous versions of packages are still addressable if the network maintains them** - Forkability - **Users can easily fork existing registries** - Users can easily make use of multiple registry indexes - **Users can easily start their own registries** - User hosted - **Users can replicate and provide the packages they care about** - **People automatically cache the packages and content they rely on** - cached copies remain available when network partitions happen - small actors can contribute to scaling their community - every user is a mirror (the term mirror falls away) - no special access required to copy/mirror/edit parts of a dependency network - Decentralized publishing - **reduced requirement for centralized registries** - **publish directly to IPFS** - avoid namespacing problems - **reduce central points of failure and trust** - Communication - Improved ways to broadcast/announce things to package consumers (new release, cve, license issue, bugs etc) - **verification data can be broadly shared between many users to improve visibility and reduce verification rework**

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully