Skip to content

Commit 2c12273

Browse files
committed
deploy: f50a261
1 parent e8744fa commit 2c12273

File tree

264 files changed

+389
-264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

264 files changed

+389
-264
lines changed

develop/_sources/dev-guide/install.md.txt

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Developer Installation
33

44
Installing ActivitySim as a developer is as easy as just using it with *uv*.
5+
The easiest wat to make sure you are up-to-date is to run `uv sync --locked`,
6+
which will make sure that all the dependencies are loaded correctly.
57

68
Depending on what you are working on, you may want to check out a branch
79
other than the default `main`. To do so, you can use a `git switch` command
@@ -18,3 +20,68 @@ sure to use the `uv add` and `uv remove` commands so that the `pyproject.toml`
1820
and `uv.lock` files are updated correctly and your virtual environment is
1921
updated.
2022
```
23+
24+
## Cloning from GitHub
25+
26+
Developers who want to work on ActivitySim should clone the repository from GitHub.
27+
If you have the [GitHub command line tool](https://cli.github.com) installed, you
28+
*could* run this command to clone the consortium's repository:
29+
30+
```{sh}
31+
gh repo clone ActivitySim/activitysim
32+
```
33+
34+
Usually, you'll actually not want to do this. Instead, **you should work on your
35+
own fork of the repository.** You can create a fork on GitHub using the web interface
36+
or the command line tool's [fork](https://cli.github.com/manual/gh_repo_fork) command.
37+
Then you would clone the repository by referencing your fork:
38+
39+
```{sh}
40+
gh repo clone MyUsernameOrOrganization/activitysim
41+
```
42+
43+
This way, you can make whatever changes you want in your fork and store them locally
44+
on your computer or push them to GitHub, and they definitely won't step on anyone
45+
else's work. When you're ready to share your awesome new features, you can open a
46+
pull request to do so.
47+
48+
Also, you may notice that the consortium repository has a huge history and includes
49+
a lot of older data files that you probably don't need. To reduce your download time
50+
and disk space usage, you can tell Git that you don't want that whole history. If you
51+
just want to have access to the current code and a couple of years history, you can
52+
cut off the older history using the `shallow-since` option:
53+
54+
```{sh}
55+
gh repo clone MyUsernameOrOrganization/activitysim -- --shallow-since="2025-01-01"
56+
```
57+
58+
This can reduce the cloning download and disk usage by several gigabytes! By default
59+
you won't see all your branches appear in this more limited clone, just the `main`
60+
branch.
61+
62+
### Fetching a Specific Branch
63+
64+
This is easily solved by downloading individual branches specifically by
65+
name.
66+
67+
```{sh}
68+
# change into the git repo's directory if not already there
69+
cd activitysim
70+
71+
# Fetch the specific branch named "patch-67"
72+
git fetch origin refs/heads/patch-67:refs/remotes/origin/patch-67
73+
74+
# Check out the branch as a local branch to work on
75+
git checkout -b patch-67 origin/patch-67
76+
```
77+
78+
### Fetching All Branches in a Fork
79+
80+
If you want to work more expansively, you may want to fetch all the branches in
81+
your fork, rather than getting specific branches one at a time. You can change the
82+
repo settings to do so by adding to the Git config file:
83+
84+
```{sh}
85+
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
86+
git fetch --shallow-since="2025-01-01" origin
87+
```

develop/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '1.5.1.dev3+gea8c323d3',
3+
VERSION: '1.5.1.dev4+gf50a261a6',
44
LANGUAGE: 'en',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',

develop/benchmarking.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ <h3>This Page</h3>
785785

786786
<div class="footer-item"><!-- This will display the version of the docs -->
787787
<p class="last-updated">
788-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
788+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
789789
</p></div>
790790

791791
<div class="footer-item">

develop/cli.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ <h3>This Page</h3>
574574

575575
<div class="footer-item"><!-- This will display the version of the docs -->
576576
<p class="last-updated">
577-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
577+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
578578
</p></div>
579579

580580
<div class="footer-item">

develop/core.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5748,7 +5748,7 @@ <h3>This Page</h3>
57485748

57495749
<div class="footer-item"><!-- This will display the version of the docs -->
57505750
<p class="last-updated">
5751-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
5751+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
57525752
</p></div>
57535753

57545754
<div class="footer-item">

develop/dev-guide/_generated/activitysim.core.configuration.base.PreprocessorSettings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ <h3>This Page</h3>
574574

575575
<div class="footer-item"><!-- This will display the version of the docs -->
576576
<p class="last-updated">
577-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
577+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
578578
</p></div>
579579

580580
<div class="footer-item">

develop/dev-guide/_generated/activitysim.core.configuration.base.PydanticReadable.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ <h3>This Page</h3>
614614

615615
<div class="footer-item"><!-- This will display the version of the docs -->
616616
<p class="last-updated">
617-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
617+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
618618
</p></div>
619619

620620
<div class="footer-item">

develop/dev-guide/_generated/activitysim.core.configuration.logit.LogitComponentSettings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ <h3>This Page</h3>
864864

865865
<div class="footer-item"><!-- This will display the version of the docs -->
866866
<p class="last-updated">
867-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
867+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
868868
</p></div>
869869

870870
<div class="footer-item">

develop/dev-guide/_generated/activitysim.core.configuration.logit.LogitNestSpec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ <h3>This Page</h3>
577577

578578
<div class="footer-item"><!-- This will display the version of the docs -->
579579
<p class="last-updated">
580-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
580+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
581581
</p></div>
582582

583583
<div class="footer-item">

develop/dev-guide/_generated/activitysim.core.configuration.logit.TemplatedLogitComponentSettings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ <h3>This Page</h3>
886886

887887
<div class="footer-item"><!-- This will display the version of the docs -->
888888
<p class="last-updated">
889-
ActivitySim 1.5.1.dev3+gea8c323d3, documentation last updated Oct 31, 2025.<br/>
889+
ActivitySim 1.5.1.dev4+gf50a261a6, documentation last updated Oct 31, 2025.<br/>
890890
</p></div>
891891

892892
<div class="footer-item">

0 commit comments

Comments
 (0)