mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Add 3.0.0 upgrade page
This commit is contained in:
		
							parent
							
								
									9e659c7652
								
							
						
					
					
						commit
						0d30c7b45c
					
				@ -39,6 +39,8 @@ docs:
 | 
				
			|||||||
        url: /docs/hooks
 | 
					        url: /docs/hooks
 | 
				
			||||||
  - title: More Help
 | 
					  - title: More Help
 | 
				
			||||||
    children:
 | 
					    children:
 | 
				
			||||||
 | 
					      - title: "Upgrading from Version 2"
 | 
				
			||||||
 | 
					        url: /docs/upgrade_from_2
 | 
				
			||||||
      - title: "Upgrading from Version 1"
 | 
					      - title: "Upgrading from Version 1"
 | 
				
			||||||
        url: /docs/upgrade_from_1
 | 
					        url: /docs/upgrade_from_1
 | 
				
			||||||
      - title: "FAQ"
 | 
					      - title: "FAQ"
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										34
									
								
								_docs/099_upgrade_from_2.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								_docs/099_upgrade_from_2.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,34 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					title: "Upgrading from Version 2"
 | 
				
			||||||
 | 
					permalink: /docs/upgrade_from_2
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Beginning with version 3.0.0, yadm introduced a few major changes which may
 | 
				
			||||||
 | 
					require you to adjust your configurations.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## New name for yadm's encrypted archive
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					yadm now supports openssl in addition to gpg for encryption. Along with this
 | 
				
			||||||
 | 
					change, the encrypted archive is now called `archive` instead of the old name
 | 
				
			||||||
 | 
					`files.gpg`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## New locations for data
 | 
				
			||||||
 | 
					yadm now uses the [XDG Base Directory Specification][xdg-spec] to find its data.
 | 
				
			||||||
 | 
					For the majority of users, this means data will now be in
 | 
				
			||||||
 | 
					`$HOME/.local/share/yadm/` instead of the old location of `$HOME/.config/yadm/`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This location is used for the local repository and encrypted archive.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The easiest way to adopt these new paths is to use the `yadm upgrade` command.
 | 
				
			||||||
 | 
					This command will move your existing repo and encrypted archive to the new
 | 
				
			||||||
 | 
					directory. Upgrading will also re-initialize all submodules you have added
 | 
				
			||||||
 | 
					(otherwise they will be broken when the repo moves).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Option `yadm.cygwin-copy` is no longer supported
 | 
				
			||||||
 | 
					Use the option `yadm.alt-copy` instead.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Env variable `YADM_COMPATIBILITY=1` is no longer supported
 | 
				
			||||||
 | 
					Version 2 supported a version 1 compatibility mode, but this has been removed
 | 
				
			||||||
 | 
					from version 3.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[xdg-spec]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user