Pulp
      • 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
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • 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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync 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
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
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
# Development Environment Workshop ###### tags: `PulpCon 2020` * Address potential overlap with the community and state of plugins topic, installer topic * What docs does one really need to read to work on pulp? * [Gerrod] I think the most important things for new contributors is knowing how to set up an easy dev environment, knowing where to make changes, and knowing how to test those changes. * https://pulp.plan.io/issues/7474 * I think setting up the pulplift environment is really easy but maybe there should be more info on interacting with elements in the environment like how it's useful to add port tunnels for 24817, 24816 on the vagrant ssh or more info about useful commands inside the environment like 'phelp, pbindings, etc..' * https://pulp.plan.io/issues/7475 * For testing it would be helpful to mention the fixtures and building local fixtures with pfixtures if a plugin uses them. It would be helpful to explicitly mention that you should use prestart before testing any changes. Also, running Pulp in the foreground is mentioned, but I think you should also mention pstop and individually stopping and starting the different parts of Pulp like the content server, since these parts are useful to test/debug on their own. * https://pulp.plan.io/issues/7476 * Quickly step through the process of going through the docs to set up an environment * https://docs.pulpproject.org/pulpcore/contributing/dev-setup.html#get-the-source * Should we further streamline the documentation for the "I just want to fix and test one bug" use case for new contributors? * Information spread out * A quick developer setup guide should list the most common use case, individual docs should list more. * We should have quick setup for the most common distros, and Mac with virtualbox. * Agreed: We suggest a vbox-compatible box, not a libvirt only box. * We should have quick setup of vagrant + plugins on multiple distros * [mikedep333] possible, but not quick for many distros. packages are often too old in debian / ubuntu, CentOS needs upstream vagrant. Need rubydev to build vagrant-sshfs and vagrant-libvirt often. * We should mention the ports 24816 & 24817, often need to bypass proxy * Lots of commands to get functional tests working. Need to look at CI scripts. * [mikedep333] Many of these should be in pulp_installer, sometimes the pulp_devel role. * Need docs on writing dynaconf lists * Need docs on the pulp 2 & pulp 3 box. It has special apache config even. * What other coding tools are core pulp developers using every day? * If everyone can share one tool or trick or process they use that resulted in an efficiency boost, we could perhaps produce a useful cheatsheet. * fzf, ripgrep, fd, ncdu, `git grep`, tig * vscode for git conflict resolution * ![](https://code.visualstudio.com/assets/docs/editor/versioncontrol/merge-conflict.png) * website for JSON validation: https://jsonformatter.curiousconcept.com * a bash alias for fetching latest commits and reloading the vagrant box (https://gist.github.com/lubosmj/7f683389a2c4d2cda680a99fe502ac3e) * Using https://mitmproxy.org/ for debugging http traffic. * meld for 3way diff conflict resolution (called via git mergetool) * Borderline excessive logging setups (https://gist.github.com/alikins/402936522de508f105771c982759f83b for ex) * silly bash script to remember pulp stuff for 'httpie' https://gist.github.com/alikins/1c870a0bce62dfca24fe023d76f8abc3 * git_prompt to see on the commandline which branch i am on * django-admin graph_models to get a visual representation of model relations * Also sometimes use SchemaSpy for this (https://gist.github.com/alikins/09bc0301e3f2b20eae2b666230a0e38e example using the docker image) * My various git scripts/aliases https://github.com/alikins/gitconfig * Also like 'pgcli' for db, and pt[i]python (also supported by django_extensions 'shell_plus') * What other tools might be useful to have pre-installed? * profiling tools (graphviz, py-spy) * PostgresqlSQL monitoring tools (pghero) * https://pghero.dokkuapp.com/ * Using pulplift effectively (mikedp333) * [New CI: nested virtualization on Travis](https://travis-ci.com/github/pulp/pulplift/builds/184240586) * New recommended workflow: `git submodule update --init --remote` (gets very latest commits) * Q: Are devs encountering disk space issues? We can expand VHDs & implement TRIM/discard. * Add to an FAQ / advanced usage section. Is needed sometimes when you neeed the entire blobs, not just metadata, on disk for an issue. * Q: Is there serious interest in using vagrant with Docker in addition to libvirt/virtualbox? * 10% performance hack: `ln -s $PWD/vagrant/settings.ci.yaml forklift/vagrant/settings.yaml` * Need how to on overriding box sections, 8GB RAM very often * Using the plugin template effectively

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