Skip to content

Commit 649435a

Browse files
committed
CB-13055_proposal : proposal to remove old fetch code
1 parent 2a78067 commit 649435a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

proposals/RemoveOldFetchCode.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Remove "--nofetch option" and All Old Fetching Code
2+
- Status: Proposed
3+
4+
## Overview
5+
This is a proposal to remove `--nofetch` option and all older fetching code. [See issue CB-13055](https://issues.apache.org/jira/browse/CB-13055)
6+
7+
## Current
8+
Currently, `Cordova` uses `cordova-fetch` for fetching modules by default.
9+
10+
## Proposal
11+
Ths proposal recommends dropping older methods of fetching as it can reduce maintenance in `Cordova`. The following is proposed to be removed:
12+
13+
- remove --nofetch option (remove the flag and workflow that occurs when fetch is false)
14+
- remove lazy_load
15+
- remove gitclone.js
16+
- remove npm dependency (from package.json)
17+
- remove remoteload.js
18+
19+
## Additional Work
20+
Update anywhere that these fetch, lazy_load, gitclone, npm dependency references or files are being used.
21+
22+
## Links
23+
* [Original fetch proposal](https://github.com/cordova/cordova-discuss/pull/33)
24+
* [CB-13055](https://issues.apache.org/jira/browse/CB-13055)

0 commit comments

Comments
 (0)